]> git.baikalelectronics.ru Git - kernel.git/commit
hwmon: (gl518sm) Convert to devm_hwmon_device_register_with_groups
authorAxel Lin <axel.lin@ingics.com>
Thu, 3 Jul 2014 01:48:04 +0000 (09:48 +0800)
committerGuenter Roeck <linux@roeck-us.net>
Mon, 4 Aug 2014 14:01:36 +0000 (07:01 -0700)
commit43aee9499c85315978d7772085205e0cc23e7ed4
treea4403419a13481e8db66a2f60eb27d59b865bf47
parentdc376afc97b95b8a589158537d06d6ca4dd699c0
hwmon: (gl518sm) 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>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/gl518sm.c