regulator: max77650: Fix set_current_limit implementation
authorAxel Lin <axel.lin@ingics.com>
Fri, 22 Feb 2019 09:09:21 +0000 (17:09 +0800)
committerMark Brown <broonie@kernel.org>
Fri, 22 Feb 2019 15:16:33 +0000 (15:16 +0000)
commitd3d1a6a72b2337437f13be75c64af4ecc386661f
treef362958c5cff17852f0e79ca0763c8cc048ae40c
parente5c8ba0635a81f90f51efd3d9a4c0c404e463d0f
regulator: max77650: Fix set_current_limit implementation

Current code always return error, fix it.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Reviewed-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/max77650-regulator.c