]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6a624ed1dbd984d4530d0215d8f40b2e474c9452
treecbf2ee29bc4a47bb170bbd0375b779cc90793227
parenta9e80a095d95d1159b26f73bd6d9c2fadc7fb411
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