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(-)