hwmon: (emc2103) Convert to devm_hwmon_device_register_with_groups
authorAxel Lin <axel.lin@ingics.com>
Sat, 19 Jul 2014 14:52:40 +0000 (22:52 +0800)
committerGuenter Roeck <linux@roeck-us.net>
Mon, 4 Aug 2014 14:01:40 +0000 (07:01 -0700)
commit9dd304f86b4b1921c0b7601b3e88a07b257fc2d2
treee6b6c81bbf89dd8f0532c83b2993074602c13ac3
parente70198acf84690b3d8ed5d1b924942c1dd85d20d
hwmon: (emc2103) 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/emc2103.c