mfd: intel_soc_pmic_bxtwc: Use bits.h macros for all masks
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 28 Jun 2022 22:17:44 +0000 (01:17 +0300)
committerLee Jones <lee@kernel.org>
Tue, 19 Jul 2022 09:54:42 +0000 (10:54 +0100)
commitf801556a8443f38b10f87fe8dc847dacff3f1a0a
tree8af89e0c466ee69c092e005cc46115e3d457a9b2
parentcd58c84034234a51bdb852a862f9037b68622d45
mfd: intel_soc_pmic_bxtwc: Use bits.h macros for all masks

Currently we are using BIT(), but GENMASK(). Make use of the latter one
as well (far less error-prone, far more concise).

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Link: https://lore.kernel.org/r/20220628221747.33956-8-andriy.shevchenko@linux.intel.com
drivers/mfd/intel_soc_pmic_bxtwc.c