]> git.baikalelectronics.ru Git - kernel.git/commit
hwmon: (hih6130) Convert to devm_hwmon_device_register_with_groups
authorAxel Lin <axel.lin@ingics.com>
Sun, 29 Jun 2014 06:45:54 +0000 (14:45 +0800)
committerGuenter Roeck <linux@roeck-us.net>
Mon, 4 Aug 2014 14:01:34 +0000 (07:01 -0700)
commitd20d8cab1eeb24192bf0c6292923dfee8d3f5651
treedbadd048593b2ec7ff9dd807f55d4ab1b9fb2bad
parent88a955260a51ad7456d0d971546ae88edf01c24f
hwmon: (hih6130) Convert to devm_hwmon_device_register_with_groups

Use ATTRIBUTE_GROUPS macro and devm_hwmon_device_register_with_groups() to
simplify the code a bit.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Tested-by: Iain Paton <ipaton0@gmail.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/hih6130.c