hwmon: (pmbus/mp2975) Replace home made version of __assign_bit()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 25 Mar 2024 12:07:42 +0000 (14:07 +0200)
committerGuenter Roeck <linux@roeck-us.net>
Sun, 28 Apr 2024 17:08:33 +0000 (10:08 -0700)
commitd2bc4a994a1eb34cf35615af86445d105f419192
treecebfea64711bcbded28205a798f4ea44c459bb47
parent9c3793629d7aa40cc07ac9dafc6df0bb21593585
hwmon: (pmbus/mp2975) Replace home made version of __assign_bit()

The newly introduced SWAP() macro is quite generic by naming, but
moreover it's a repetition of the existing __assign_bit().
With this applied, add a missing bits.h (via now required bitops.h).

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20240325120952.3019767-2-andriy.shevchenko@linux.intel.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/pmbus/mp2975.c