[PATCH 0/3] Convert to *_with_info() API

From: Armin Wolf
Date: Thu Jan 05 2023 - 09:19:40 EST


This patch series converts the ftsteutates driver to the *_with_info()
API, reducing module size by ~30%.
The first patch does the actual conversion, while the second patch deals
with the nonstandard fanX_source attributes, which are being replaced
with the standard pwmX_auto_channels_temp attributes. The last patch
adds support for fanX_fault attributes.

All patches where tested on a Fujitsu DS3401-B1.

Armin Wolf (3):
hwmon: (ftsteutates) Convert to devm_hwmon_device_register_with_info()
hwmon: (ftsteutates) Replace fanX_source with pwmX_auto_channels_temp
hwmon: (ftsteutates) Add support for fanX_fault attributes

Documentation/hwmon/ftsteutates.rst | 5 +
drivers/hwmon/ftsteutates.c | 550 +++++++++++-----------------
2 files changed, 210 insertions(+), 345 deletions(-)

--
2.30.2