From: Axel Lin Date: Thu, 3 Jul 2014 14:01:48 +0000 (+0800) Subject: hwmon: (adm9240) Convert to devm_hwmon_device_register_with_groups X-Git-Tag: cleanup-for-v3.18~118^2~39 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=715f69bef14e4139ff1e19bbc69e0cd07de0f4e9;p=pandora-kernel.git hwmon: (adm9240) 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 Signed-off-by: Guenter Roeck --- Reading git-diff-tree failed