Re: [PATCH 4/4] hwmon: (lm92) Convert to use devm_hwmon_device_register_with_groups

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

 



On Fri, 18 Apr 2014 15:51:25 -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/lm92.c |   56 ++++++++++++++------------------------------------
>  1 file changed, 15 insertions(+), 41 deletions(-)
> (...)

Nice cleanup as usual :)

Reviewed-by: Jean Delvare <jdelvare@xxxxxxx>

-- 
Jean Delvare
SUSE L3 Support

_______________________________________________
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