[PATCH v2 0/3] (ftsteutates) Various fixes

Armin Wolf posted 3 patches 2 years, 8 months ago
Documentation/hwmon/ftsteutates.rst |   5 +
drivers/hwmon/ftsteutates.c         | 550 +++++++++++-----------------
2 files changed, 210 insertions(+), 345 deletions(-)
[PATCH v2 0/3] (ftsteutates) Various fixes
Posted by Armin Wolf 2 years, 8 months ago
This patch series contains the missing changes from the previous series.

The first patch converts the driver to use the modern *_with_info() API,
while the second patch replaces the nonstandard fanX_source attributes
with standard pwmX_auto_channels_temp attributes. Since the behaviour of
the pwmX_auto_channels_temp attributes is a bit special with the teutates BMC,
it is added to the drivers documentation. The last patch adds support
for fanX_fault attributes, using information already available inside
the driver but not exported to userspace.

Changes since v1:
- Omit patches regarding the scaling of measurements and watchdog
  registration
- Split the patch regarding the API conversion into three separate
  patches
- introduce FTS_FAN_SOURCE_INVALID so the pwmX_auto_channels_temp
  attributes display proper values for unconnected fans

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