Skip to content

hwmon: (tmp401) Various improvements

Guenter Roeck linux-hwmon 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4hwmon: (tmp401) Simplify temperature register arraysdrivers/hwmon/tmp401.c+11 -280 replies
2/4hwmon: (tmp401) Convert to _info APIdrivers/hwmon/tmp401.c+347 -3860 replies
3/4hwmon: (tmp401) Use regmapdrivers/hwmon/Kconfig drivers/hwmon/tmp401.c+150 -760 replies
4/4hwmon: (tmp401) Hide register write address differences in regmap codedrivers/hwmon/tmp401.c+25 -440 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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

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