Skip to content

Commit

Permalink
regulator: max8998: max8998_set_current_limit() can be static
Browse files Browse the repository at this point in the history
Fixes: 4ffea5e ("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>
  • Loading branch information
kbuild test robot authored and Mark Brown committed Jun 1, 2020
1 parent 81227f4 commit 0b0c0bd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/regulator/max8998.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 0b0c0bd

Please sign in to comment.