[PATCH v1 0/3] hwmon: (pmbus/mp2975) Refactor the driver

From: Andy Shevchenko
Date: Mon Mar 25 2024 - 13:43:41 EST


Cleanups and refactoring to make it OF-independent (by compilation).
of_device.h is target to remove for the cases where it's not needed,
hende the last patch, which also makes code cleaner.

Andy Shevchenko (3):
hwmon: (pmbus/mp2975) Replace home made version of __assign_bit()
hwmon: (pmbus/mp2975) Constify local pointers to pmbus_driver_info
hwmon: (pmbus/mp2975) Use i2c_get_match_data()

drivers/hwmon/pmbus/mp2975.c | 89 ++++++++++++++++++++----------------
1 file changed, 49 insertions(+), 40 deletions(-)

--
2.43.0.rc1.1.gbec44491f096