regulator: wm8400: Get rid of wm8400_block_read/wm8400_set_bits functions
authorAxel Lin <axel.lin@ingics.com>
Wed, 27 Feb 2019 01:30:53 +0000 (09:30 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 11 Mar 2019 16:36:29 +0000 (16:36 +0000)
commite08abeca39673e1045ca1e5a90bd7fef69d0fe8f
tree4bd95290196f077f5f381788ef2f9d343de2efaa
parent5b60ee576a02cb6b2371dec085ef2623a7df77b9
regulator: wm8400: Get rid of wm8400_block_read/wm8400_set_bits functions

The only user of wm8400_block_read/wm8400_set_bits functions is the
wm8400 regulator driver. At the context of all the callers, we can
use regmap_bulk_read/regmap_update_bits directly.
Thus remove wm8400_block_read/wm8400_set_bits functions.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Acked-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/mfd/wm8400-core.c
drivers/regulator/wm8400-regulator.c
include/linux/mfd/wm8400-private.h