linux-hwmon.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Dr. David Alan Gilbert" <linux@treblig.org>
To: linux@roeck-us.net, jdelvare@suse.com, linux-hwmon@vger.kernel.org
Cc: "Dr. David Alan Gilbert" <linux@treblig.org>
Subject: [PATCH 0/2] hwmon: convert w83627ehf to new interface
Date: Sun, 24 Nov 2019 20:20:28 +0000	[thread overview]
Message-ID: <20191124202030.45360-1-linux@treblig.org> (raw)

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

-- 
2.23.0


             reply	other threads:[~2019-11-24 20:39 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-11-24 20:20 Dr. David Alan Gilbert [this message]
2019-11-24 20:20 ` [PATCH 1/2] hwmon: Add intrusion templates Dr. David Alan Gilbert
2019-11-29 18:39   ` Guenter Roeck
2019-11-24 20:20 ` [PATCH 2/2] hwmon: (w83627ehf) convert to with_info interface Dr. David Alan Gilbert
2019-12-07 13:51   ` Guenter Roeck
2019-12-07 16:49     ` Dr. David Alan Gilbert
2019-12-24  2:16       ` Dr. David Alan Gilbert
2019-12-24  2:21         ` Guenter Roeck

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20191124202030.45360-1-linux@treblig.org \
    --to=linux@treblig.org \
    --cc=jdelvare@suse.com \
    --cc=linux-hwmon@vger.kernel.org \
    --cc=linux@roeck-us.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).