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>
This commit is contained in:
Olliver Schinagl 2018-11-26 17:27:42 +02:00 • committed by Mark Brown
commit db4a555f7c
No known key found for this signature in database
GPG key ID: 24D68B725D5487D0