diff options
author | Axel Lin <axel.lin@ingics.com> | 2014-07-03 09:48:04 +0800 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2014-08-04 07:01:36 -0700 |
commit | 18faf5b9befa0009ab796990eaa25af81f0f3b6f (patch) | |
tree | a4403419a13481e8db66a2f60eb27d59b865bf47 /drivers/hwmon/gl520sm.c | |
parent | d4a972a33932f039fe9dce0cfb2337fee1150f5a (diff) | |
download | linux-18faf5b9befa0009ab796990eaa25af81f0f3b6f.tar.gz linux-18faf5b9befa0009ab796990eaa25af81f0f3b6f.tar.bz2 linux-18faf5b9befa0009ab796990eaa25af81f0f3b6f.zip |
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>
Diffstat (limited to 'drivers/hwmon/gl520sm.c')
0 files changed, 0 insertions, 0 deletions