linux-hwmon.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/5] hwmon: (dell-smm-hwmon) Convert to new hwmon
@ 2021-05-19 13:29 W_Armin
  2021-05-19 13:29 ` [PATCH 1/5] hwmon: (dell-smm-hwmon) Use platform device W_Armin
                   ` (5 more replies)
  0 siblings, 6 replies; 8+ messages in thread
From: W_Armin @ 2021-05-19 13:29 UTC (permalink / raw)
  To: pali; +Cc: linux, jdelvare, linux-hwmon

From: Armin Wolf <W_Armin@gmx.de>

This patch series is converting the dell-smm-hwmon driver
to the new hwmon registration API. In order to do so,
it introduces a platform device in the first patch, and
applies some optimisations in the next three patches.
The switch to the new hwmon registration API is done in
the last patch.

The caching of the fan/temp values was modified to better fit
the new hwmon API.

The patches work fine for my Dell Latitude C600, but i whould
appreciate someone testing the code on another model too.

Armin Wolf (5):
  hwmon: (dell-smm-hwmon) Use platform device
  hwmon: (dell-smm-hwmon) Mark functions as __init
  hwmon: (dell-smm-hwmon) Use devm_add_action_or_reset()
  hwmon: (dell-smm-hwmon) Move variables into a driver private data
    structure
  hwmon: (dell-smm-hwmon) Convert to
    devm_hwmon_device_register_with_info()

 drivers/hwmon/dell-smm-hwmon.c | 860 ++++++++++++++++-----------------
 1 file changed, 425 insertions(+), 435 deletions(-)

--
2.20.1


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2021-05-26 17:16 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-19 13:29 [PATCH 0/5] hwmon: (dell-smm-hwmon) Convert to new hwmon W_Armin
2021-05-19 13:29 ` [PATCH 1/5] hwmon: (dell-smm-hwmon) Use platform device W_Armin
2021-05-19 13:29 ` [PATCH 2/5] hwmon: (dell-smm-hwmon) Mark functions as __init W_Armin
2021-05-19 13:29 ` [PATCH 3/5] hwmon: (dell-smm-hwmon) Use devm_add_action_or_reset() W_Armin
2021-05-19 13:29 ` [PATCH 4/5] hwmon: (dell-smm-hwmon) Move variables into a driver private data structure W_Armin
2021-05-19 13:29 ` [PATCH 5/5] hwmon: (dell-smm-hwmon) Convert to devm_hwmon_device_register_with_info() W_Armin
2021-05-26 16:10 ` [PATCH 0/5] hwmon: (dell-smm-hwmon) Convert to new hwmon Guenter Roeck
2021-05-26 17:16   ` Pali Rohár

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