From: kbuild test robot Date: Sat, 30 May 2020 13:03:14 +0000 (+0800) Subject: regulator: max8998: max8998_set_current_limit() can be static X-Git-Tag: v5.15~3375^2~8 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0b0c0bd818ef76a20f58c3cb1ac96a3056ccb681;p=platform%2Fkernel%2Flinux-starfive.git regulator: max8998: max8998_set_current_limit() can be static Fixes: 4ffea5e083f8 ("regulator: max8998: Add charger regulator") Signed-off-by: kbuild test robot Link: https://lore.kernel.org/r/20200530130314.GA73557@d7d8dbfb64ff Signed-off-by: Mark Brown --- diff --git a/drivers/regulator/max8998.c b/drivers/regulator/max8998.c index 668ced0..340413b 100644 --- a/drivers/regulator/max8998.c +++ b/drivers/regulator/max8998.c @@ -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;