mbox series

[v2,0/6] hwmon: (max6697) Cleanup, use regmap and with_info API

Message ID 20240723154447.2669995-1-linux@roeck-us.net (mailing list archive)
Headers show
Series hwmon: (max6697) Cleanup, use regmap and with_info API | expand

Message

Guenter Roeck July 23, 2024, 3:44 p.m. UTC
Clean up driver, use regmap, convert to with_info hwmon API,
and add support for additional standard attributes.

The patch series reduces object file size by more than 30%.

v2:
- Fix include file order to be really alphabetical
- Fix devicetree configuration
- Add Reviewed-by: tags

----------------------------------------------------------------
Guenter Roeck (6):
      hwmon: (max6697) Reorder include files
      hwmon: (max6697) Drop platform data support
      hwmon: (max6697) Use bit operations where possible
      hwmon: (max6697) Convert to use regmap
      hwmon: (max6697) Convert to with_info hwmon API
      hwmon: (max6697) Add support for tempX_min and tempX_min_alarm

 drivers/hwmon/max6697.c               | 896 ++++++++++++++--------------------
 include/linux/platform_data/max6697.h |  33 --
 2 files changed, 370 insertions(+), 559 deletions(-)
 delete mode 100644 include/linux/platform_data/max6697.h