From: Axel Lin Date: Sat, 14 Jun 2014 06:50:50 +0000 (+0800) Subject: hwmon: (gpio-fan) Convert to devm_hwmon_device_register_with_groups X-Git-Tag: omap-for-v3.17/fixes-against-rc2~159^2~80 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=49153b092ceb099a5f38a645e3c40b4bd4e28a82;p=pandora-kernel.git 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 Signed-off-by: Guenter Roeck --- Reading git-diff-tree failed