From: W_Armin@gmx.de
To: hdegoede@redhat.com
Cc: linux-hwmon@vger.kernel.org, Armin Wolf <W_Armin@gmx.de>
Subject: [PATCH 0/2] hwmon: (sch5627) Replace hwmon_device_register()
Date: Sun, 11 Apr 2021 18:42:23 +0200 [thread overview]
Message-ID: <20210411164225.11967-1-W_Armin@gmx.de> (raw)
From: Armin Wolf <W_Armin@gmx.de>
When the sch5627 driver is loaded, a warning is displayed during
bootup about hwmon_device_register() being deprecated.
The first patch solves that issue, and the second patch adds
a minor optimization when reading sensor data.
Both patches have been tested on a Fujitsu Esprimo P720
and appear to work without issues.
Armin Wolf (2):
hwmon: (sch5627) Convert to hwmon_device_register_with_info()
hwmon: (sch5627) Split sch5627_update_device()
drivers/hwmon/sch5627.c | 445 ++++++++++++++++------------------------
1 file changed, 180 insertions(+), 265 deletions(-)
--
2.20.1
next reply other threads:[~2021-04-11 16:42 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-04-11 16:42 W_Armin [this message]
2021-04-11 16:42 ` [PATCH 1/2] hwmon: (sch5627) Convert to hwmon_device_register_with_info() W_Armin
2021-04-11 16:42 ` [PATCH 2/2] hwmon: (sch5627) Split sch5627_update_device() W_Armin
2021-04-13 16:39 ` Guenter Roeck
2021-04-13 8:11 ` [PATCH 0/2] hwmon: (sch5627) Replace hwmon_device_register() Hans de Goede
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=20210411164225.11967-1-W_Armin@gmx.de \
--to=w_armin@gmx.de \
--cc=hdegoede@redhat.com \
--cc=linux-hwmon@vger.kernel.org \
/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).