regulator: tps65218: Convert to use regulator_get_current_limit_regmap
authorAxel Lin <axel.lin@ingics.com>
Sat, 13 Apr 2019 02:29:07 +0000 (10:29 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 15 Apr 2019 08:44:09 +0000 (09:44 +0100)
commit7cfcecfb82afe81fdc94ec214f2ad3d83eb2a4ba
tree8c5b236980dca249861bf0fe14e67bc44ebdbcb9
parent7c6b8e3b9fe85af29b66478d585a0cffd6caa1df
regulator: tps65218: Convert to use regulator_get_current_limit_regmap

Use regulator_get_current_limit_regmap helper to save some code.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/tps65218-regulator.c