Commits
Axel Lin committed 49153b092ce
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>