regulator: max77650: Convert to use regulator_set/get_current_limit_regmap
authorAxel Lin <axel.lin@ingics.com>
Thu, 28 Feb 2019 13:40:18 +0000 (21:40 +0800)
committerMark Brown <broonie@kernel.org>
Sun, 3 Mar 2019 23:47:26 +0000 (23:47 +0000)
commit6c98ac2a347f4849885bd9f966bda50fc25f8d55
treec85ae0d154b5dbfb7e7a0b834210dcb656c09c34
parentbe6230c3198b61e0b0bb1fc843a42a2e5546da36
regulator: max77650: Convert to use regulator_set/get_current_limit_regmap

Use regulator_set/get_current_limit_regmap helpers to save some code.

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