Re: [PATCH] hwmon: (lm70) Convert to use devm_hwmon_device_register_with_groups

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

 



On 04/12/2014 10:31 AM, Jean Delvare wrote:
On Thu, 10 Apr 2014 20:45:44 -0700, Guenter Roeck wrote:
Use devm_hwmon_device_register_with_groups API to attach attributes
to hwmon device, simplify code, and reduce code size.

Signed-off-by: Guenter Roeck <linux@xxxxxxxxxxxx>
---
  drivers/hwmon/lm70.c |   62 ++++++++++++--------------------------------------
  1 file changed, 14 insertions(+), 48 deletions(-)
(...)

I can't test, but this looks alright to me.

Hi Jean,

The patches I am sending out are all tested on real hardware
(unless mentioned in the commit log), so the risk should be low
unless I am missing something in my test.

Reviewed-by: Jean Delvare <jdelvare@xxxxxxx>

Thanks a lot!

Guenter


_______________________________________________
lm-sensors mailing list
lm-sensors@xxxxxxxxxxxxxx
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors




[Index of Archives]     [Linux Kernel]     [Linux Hardware Monitoring]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux