mbox series

[0/4] hwmon: (tmp401) Various improvements

Message ID 20211109234814.3724798-1-linux@roeck-us.net (mailing list archive)
Headers show
Series hwmon: (tmp401) Various improvements | expand

Message

Guenter Roeck Nov. 9, 2021, 11:48 p.m. UTC
This series converts the tmp401 driver to use
devm_hwmon_device_register_with_info(), and it converts the driver
to use regmap. This results in a code size reduction by approximately
20% and data size reduction by approximately 50% when building the
driver for x86_64.

----------------------------------------------------------------
Guenter Roeck (4):
      hwmon: (tmp401) Simplify temperature register arrays
      hwmon: (tmp401) Convert to _info API
      hwmon: (tmp401) Use regmap
      hwmon: (tmp401) Hide register write address differences in regmap code

 drivers/hwmon/Kconfig  |   1 +
 drivers/hwmon/tmp401.c | 862 ++++++++++++++++++++++++-------------------------
 2 files changed, 431 insertions(+), 432 deletions(-)