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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Armin Wolf <W_Armin@xxxxxx>

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




[Index of Archives]     [LM Sensors]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux