public inbox for linux-hwmon@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/4] hwmon: (tmp401) Various improvements
@ 2021-11-09 23:48 Guenter Roeck
  2021-11-09 23:48 ` [PATCH 1/4] hwmon: (tmp401) Simplify temperature register arrays Guenter Roeck
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Guenter Roeck @ 2021-11-09 23:48 UTC (permalink / raw)
  To: Hardware Monitoring; +Cc: Jean Delvare, Guenter Roeck

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-11-09 23:48 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-11-09 23:48 [PATCH 0/4] hwmon: (tmp401) Various improvements Guenter Roeck
2021-11-09 23:48 ` [PATCH 1/4] hwmon: (tmp401) Simplify temperature register arrays Guenter Roeck
2021-11-09 23:48 ` [PATCH 2/4] hwmon: (tmp401) Convert to _info API Guenter Roeck
2021-11-09 23:48 ` [PATCH 3/4] hwmon: (tmp401) Use regmap Guenter Roeck
2021-11-09 23:48 ` [PATCH 4/4] hwmon: (tmp401) Hide register write address differences in regmap code Guenter Roeck

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox