regulator: axp20x: use defines for masks
authorOlliver Schinagl <oliver@schinagl.nl>
Mon, 26 Nov 2018 15:27:42 +0000 (17:27 +0200)
committerMark Brown <broonie@kernel.org>
Wed, 28 Nov 2018 09:55:16 +0000 (09:55 +0000)
commitdb4a555f7c4cfcca26ca3a4ff5f9ee9bd6a78f98
treecbf2ee29bc4a47bb170bbd0375b779cc90793227
parent651022382c7f8da46cb4872a545ee1da6d097d2a
regulator: axp20x: use defines for masks

The AXP20X driver currently has several masks defined throughout the
code. Use nice defines to make them clean and more descriptive.

Additionally include bitops.h, which was missing before, and sort
headers.

Signed-off-by: Olliver Schinagl <oliver@schinagl.nl>
Signed-off-by: Priit Laes <plaes@plaes.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/axp20x-regulator.c