Skip to content

hwmon: convert w83627ehf to new interface

Dr. David Alan Gilbert linux-hwmon 1 version Applied

Status from this message: Applied to hwmon-next.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 5 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2hwmon: Add intrusion templatesdrivers/hwmon/hwmon.c include/linux/hwmon.h+16 -11 reply
2/2hwmon: (w83627ehf) convert to with_info interfacedrivers/hwmon/w83627ehf.c+630 -7994 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/2] hwmon: convert w83627ehf to new interface

Convert w83627ehf to the with_info interface;
while we're here add intrusion%d_ templates since they're used by a bunch of different devices.

The _visible functions try and follow the same structure as the existing device_create_file loops and structures.

The in*input,fan*input and temp*input all look sane to me; and I've tried writing to a bunch of the files; but the pwm ones I don't have too much of an idea of.

This has been tested on my P55M Pro which has a W83667HG-B; it would be good to get some testing from people with other devices supported by the driver.

Dave

Dr. David Alan Gilbert (2):
hwmon: Add intrusion templates
hwmon: (w83627ehf) convert to with_info interface

 drivers/hwmon/hwmon.c     |    9 +-
 drivers/hwmon/w83627ehf.c | 1429 ++++++++++++++++---------------------
 include/linux/hwmon.h     |    8 +
 3 files changed, 646 insertions(+), 800 deletions(-)
Signature · 1 line
2.23.0