From: Axel Lin Date: Sat, 19 Jul 2014 14:29:44 +0000 (+0800) Subject: hwmon: (g762) Convert to hwmon_device_register_with_groups X-Git-Tag: cleanup-for-v3.18~118^2~13 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=398e16db62620dd80a237c5043bec5c9335ac92c;p=pandora-kernel.git hwmon: (g762) Convert to hwmon_device_register_with_groups Use ATTRIBUTE_GROUPS macro and hwmon_device_register_with_groups() to simplify the code a bit. Use hwmon_device_register_with_groups rather than the device managed version to ensure g762_of_clock_disable() is called after hwmon_device_unregister(). Signed-off-by: Axel Lin Signed-off-by: Guenter Roeck --- Reading git-diff-tree failed