Skip to content

RFC hwmon: (dell-smm-hwmon) Use platform device

[email protected] linux-hwmon 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest3 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3hwmon: (dell-smm-hwmon) Use platform devicedrivers/hwmon/dell-smm-hwmon.c+41 -290 replies
2/3hwmon: (dell-smm-hwmon) Use devm_add_action_or_reset()drivers/hwmon/dell-smm-hwmon.c+9 -190 replies
3/3hwmon: (dell-smm-hwmon) Move variables into a driver private data structuredrivers/hwmon/dell-smm-hwmon.c+198 -1720 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC 0/3] hwmon: (dell-smm-hwmon) Use platform device

From: Armin Wolf <[email protected]>

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