Re: [RFC PATCH regulator] regulator: max8998: max8998_set_current_limit() can be static

2020-06-01 Thread Mark Brown
On Sat, 30 May 2020 21:03:14 +0800, kbuild test robot wrote:
> 


Applied to

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git 
for-next

Thanks!

[1/1] regulator: max8998: max8998_set_current_limit() can be static
  commit: 0b0c0bd818ef76a20f58c3cb1ac96a3056ccb681

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark


[RFC PATCH regulator] regulator: max8998: max8998_set_current_limit() can be static

2020-05-30 Thread kbuild test robot


Fixes: 4ffea5e083f8 ("regulator: max8998: Add charger regulator")
Signed-off-by: kbuild test robot 
---
 max8998.c |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/regulator/max8998.c b/drivers/regulator/max8998.c
index 668ced0064179..340413bba0c5f 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;