diff options
author | Axel Lin <axel.lin@ingics.com> | 2014-06-14 14:50:50 +0800 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2014-08-04 07:01:33 -0700 |
commit | 49153b092ceb099a5f38a645e3c40b4bd4e28a82 (patch) | |
tree | 39a357ce31ca03566d0d8979c1c404c586a9851d /Documentation/hwmon | |
parent | 5495af5f3e6e2cce34a2c22ecd8b1a94e93c184a (diff) | |
download | op-kernel-dev-49153b092ceb099a5f38a645e3c40b4bd4e28a82.zip op-kernel-dev-49153b092ceb099a5f38a645e3c40b4bd4e28a82.tar.gz |
hwmon: (gpio-fan) Convert to devm_hwmon_device_register_with_groups
This simplifies the code a bit and also ensures the attribute groups are
properly removed from sysfs when unload the module.
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'Documentation/hwmon')
0 files changed, 0 insertions, 0 deletions