regulator: max8998: max8998_set_current_limit() can be static

Fixes: 4ffea5e083 ("regulator: max8998: Add charger regulator")
Signed-off-by: kbuild test robot <lkp@intel.com>
Link: https://lore.kernel.org/r/20200530130314.GA73557@d7d8dbfb64ff
Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
kbuild test robot 2020-05-30 21:03:14 +08:00 committed by Mark Brown
parent 81227f49bd
commit 0b0c0bd818
No known key found for this signature in database
GPG Key ID: 24D68B725D5487D0

View File

@ -371,8 +371,8 @@ static int max8998_set_voltage_buck_time_sel(struct regulator_dev *rdev,
return 0;
}
int max8998_set_current_limit(struct regulator_dev *rdev,
int min_uA, int max_uA)
static int max8998_set_current_limit(struct regulator_dev *rdev,
int min_uA, int max_uA)
{
struct max8998_data *max8998 = rdev_get_drvdata(rdev);
struct i2c_client *i2c = max8998->iodev->i2c;