From: Guenter Roeck Date: Sat, 23 Nov 2013 19:03:17 +0000 (-0800) Subject: asus-wmi: Convert to use devm_hwmon_device_register_with_groups X-Git-Tag: v3.14-rc1~54^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=50a639fb158c6aafe86ba7d6104de69518a9d09a;p=pandora-kernel.git asus-wmi: Convert to use devm_hwmon_device_register_with_groups Simplify the code and avoid race conditions due to late sysfs attribute registration. Also replace SENSOR_DEVICE_ATTR with DEVICE_ATTR; the additional parameter is not used and thus unnecessary. Signed-off-by: Guenter Roeck Signed-off-by: Matthew Garrett --- Reading git-diff-tree failed