From: W_Armin@gmx.de
To: pali@kernel.org
Cc: linux@roeck-us.net, jdelvare@suse.com, linux-hwmon@vger.kernel.org
Subject: [RFC 0/3] hwmon: (dell-smm-hwmon) Use platform device
Date: Sat, 15 May 2021 20:34:06 +0200 [thread overview]
Message-ID: <20210515183409.682-1-W_Armin@gmx.de> (raw)
From: Armin Wolf <W_Armin@gmx.de>
Use a platform device in order to use devres functions.
Also a future rewrite of the driver requieres a device.
Are the patches for introducing the platform driver/device
ok for serving as the basis for the conversion to
hwmon_device_register_with_info()?
They work on my Dell Latitude C600 just fine, but i whould
appreciate someone testing the code on another model too.
Armin Wolf (3):
hwmon: (dell-smm-hwmon) Use platform device
hwmon: (dell-smm-hwmon) Use devm_add_action_or_reset()
hwmon: (dell-smm-hwmon) Move variables into a driver private data
structure
drivers/hwmon/dell-smm-hwmon.c | 392 ++++++++++++++++++---------------
1 file changed, 210 insertions(+), 182 deletions(-)
--
2.20.1
next reply other threads:[~2021-05-15 18:34 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-05-15 18:34 W_Armin [this message]
2021-05-15 18:34 ` [RFC 1/3] hwmon: (dell-smm-hwmon) Use platform device W_Armin
2021-05-15 18:34 ` [RFC 2/3] hwmon: (dell-smm-hwmon) Use devm_add_action_or_reset() W_Armin
2021-05-15 18:34 ` [RFC 3/3] hwmon: (dell-smm-hwmon) Move variables into a driver private data structure W_Armin
2021-05-16 14:08 ` [RFC 0/3] hwmon: (dell-smm-hwmon) Use platform device 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=20210515183409.682-1-W_Armin@gmx.de \
--to=w_armin@gmx.de \
--cc=jdelvare@suse.com \
--cc=linux-hwmon@vger.kernel.org \
--cc=linux@roeck-us.net \
--cc=pali@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