hwmon: (tmp421) Convert to use devm_hwmon_device_register_with_groups
authorGuenter Roeck <linux@roeck-us.net>
Sun, 6 Apr 2014 04:22:46 +0000 (21:22 -0700)
committerGuenter Roeck <linux@roeck-us.net>
Wed, 21 May 2014 23:02:20 +0000 (16:02 -0700)
commit276dac8039a70630e4dbf5c4c3b294c057e8cd42
tree007c079f407d0871111490a0aa012f45dba758f6
parentad9beea43f22f80217ac1850b0373718adce5fbc
hwmon: (tmp421) Convert to use devm_hwmon_device_register_with_groups

Use devm_hwmon_device_register_with_groups API to attach attributes
to hwmon device, simplify code, and reduce code size.

Reviewed-by: Jean Delvare <jdelvare@suse.de>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/tmp421.c
This page took 0.026267 seconds and 5 git commands to generate.