mbox series

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

Message ID 20240325120952.3019767-1-andriy.shevchenko@linux.intel.com (mailing list archive)
Headers show
Series hwmon: (pmbus/mp2975) Refactor the driver | expand

Message

Andy Shevchenko March 25, 2024, 12:07 p.m. UTC
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(-)