]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2c308bbaa52961f6dac037ab9afaf0e02c4de581
treee6b6c81bbf89dd8f0532c83b2993074602c13ac3
parent2a9506d852973daae9425e2a2ee45a912d859bc0
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