RFC hwmon: (dell-smm-hwmon) Use platform device
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest3 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | hwmon: (dell-smm-hwmon) Use platform devicedrivers/ | +41 | 0 replies | |
| 2/3 | hwmon: (dell-smm-hwmon) Use devm_add_action_or_reset()drivers/ | +9 | 0 replies | |
| 3/3 | hwmon: (dell-smm-hwmon) Move variables into a driver private data structuredrivers/ | +198 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
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