linux-hwmon.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC 0/3] hwmon: (dell-smm-hwmon) Use platform device
@ 2021-05-15 18:34 W_Armin
  2021-05-15 18:34 ` [RFC 1/3] " W_Armin
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: W_Armin @ 2021-05-15 18:34 UTC (permalink / raw)
  To: pali; +Cc: linux, jdelvare, linux-hwmon

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


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

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

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-15 18:34 [RFC 0/3] hwmon: (dell-smm-hwmon) Use platform device W_Armin
2021-05-15 18:34 ` [RFC 1/3] " 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

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