From 49153b092ceb099a5f38a645e3c40b4bd4e28a82 Mon Sep 17 00:00:00 2001 From: Axel Lin Date: Sat, 14 Jun 2014 14:50:50 +0800 Subject: [PATCH] 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-format-patch failed