regulator: fan53555: Make use of the bit macros
authorCristian Ciocaltea <cristian.ciocaltea@collabora.com>
Thu, 6 Apr 2023 19:41:55 +0000 (22:41 +0300)
committerMark Brown <broonie@kernel.org>
Tue, 11 Apr 2023 12:24:54 +0000 (13:24 +0100)
commitd25016618c0845b2a0f9ae64d084a66efd39b03c
treefd6f26fe66670a3e71c1322cc2824cb44e0dd683
parentd5edc0e36bb1657d2c46b7521010d4f0894a5c74
regulator: fan53555: Make use of the bit macros

For consistency and improved clarity, use BIT() and GENMASK() macros for
defining the bitfields inside the registers. No functional changes
intended.

While here, also fix DIE_{ID,REV} inconsistent indentation.

Signed-off-by: Cristian Ciocaltea <cristian.ciocaltea@collabora.com>
Link: https://lore.kernel.org/r/20230406194158.963352-6-cristian.ciocaltea@collabora.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/fan53555.c