]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit896fac5738f675f510b65f53f0ecbaa459dd3676
tree8af89e0c466ee69c092e005cc46115e3d457a9b2
parentd1abcf753d0517a3b581af04fd75d8b79ee7c5e8
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