OSDN Git Service

hwmon: (lm85) Convert to devm_hwmon_device_register_with_groups
authorAxel Lin <axel.lin@ingics.com>
Wed, 23 Jul 2014 04:29:11 +0000 (12:29 +0800)
committerGuenter Roeck <linux@roeck-us.net>
Mon, 4 Aug 2014 14:01:41 +0000 (07:01 -0700)
commit746f68841a530ea0b6fd8f2ec92815ff087b962c
tree5a3f5305854d438f428108f1d3fc9fce92d15116
parent6fd5dd58371fb3cad5aedf64e30bef3ca54b3d6c
hwmon: (lm85) Convert to devm_hwmon_device_register_with_groups

Use devm_hwmon_device_register_with_groups() to simplify the code a bit.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/lm85.c