Commit 0b0c0bd8 authored by kbuild test robot's avatar kbuild test robot Committed by Mark Brown

regulator: max8998: max8998_set_current_limit() can be static

Fixes: 4ffea5e0 ("regulator: max8998: Add charger regulator")
Signed-off-by: default avatarkbuild test robot <lkp@intel.com>
Link: https://lore.kernel.org/r/20200530130314.GA73557@d7d8dbfb64ffSigned-off-by: default avatarMark Brown <broonie@kernel.org>
parent 81227f49
...@@ -371,8 +371,8 @@ static int max8998_set_voltage_buck_time_sel(struct regulator_dev *rdev, ...@@ -371,8 +371,8 @@ static int max8998_set_voltage_buck_time_sel(struct regulator_dev *rdev,
return 0; return 0;
} }
int max8998_set_current_limit(struct regulator_dev *rdev, static int max8998_set_current_limit(struct regulator_dev *rdev,
int min_uA, int max_uA) int min_uA, int max_uA)
{ {
struct max8998_data *max8998 = rdev_get_drvdata(rdev); struct max8998_data *max8998 = rdev_get_drvdata(rdev);
struct i2c_client *i2c = max8998->iodev->i2c; struct i2c_client *i2c = max8998->iodev->i2c;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment