diff options
author | Axel Lin <axel.lin@ingics.com> | 2014-07-09 09:20:41 +0800 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2014-09-22 11:14:52 -0700 |
commit | 4222eb5f2b4fe9a0f50b283ba25111c595723429 (patch) | |
tree | e9d7a2cef9151ee2e10b64aeaacf9ae89a654ab2 /Documentation/hwmon | |
parent | e7d275e7619510314dbb9207896bb12074d71c81 (diff) | |
download | op-kernel-dev-4222eb5f2b4fe9a0f50b283ba25111c595723429.zip op-kernel-dev-4222eb5f2b4fe9a0f50b283ba25111c595723429.tar.gz |
hwmon: (da9052) 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: Adam Thomson <Adam.Thomson.Opensource@diasemi.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'Documentation/hwmon')
0 files changed, 0 insertions, 0 deletions