From: Guenter Roeck Date: Sun, 16 Feb 2014 23:49:04 +0000 (-0800) Subject: hwmon: (coretemp) Convert to use devm_hwmon_device_register_with_groups X-Git-Tag: v3.15-rc1~145^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d72d19c26c417d514787ae85b197af34de286c0a;p=pandora-kernel.git hwmon: (coretemp) Convert to use devm_hwmon_device_register_with_groups Simplify code, reduce code size, and attach sysfs attributes to hwmon device. For this driver, the only attribute created is the name attribute. Other attributes are still created and removed dynamically as cores are added or removed. Signed-off-by: Guenter Roeck Reviewed-by: Jean Delvare Tested-by: Jean Delvare --- Reading git-diff-tree failed