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

Andy Shevchenko posted 3 patches 1 year, 10 months ago
drivers/hwmon/pmbus/mp2975.c | 89 ++++++++++++++++++++----------------
1 file changed, 49 insertions(+), 40 deletions(-)
[PATCH v1 0/3] hwmon: (pmbus/mp2975) Refactor the driver
Posted by Andy Shevchenko 1 year, 10 months ago
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