From: Guenter Roeck Date: Sat, 23 Nov 2013 19:03:21 +0000 (-0800) Subject: eeepc-laptop: Convert to use devm_hwmon_device_register_with_groups X-Git-Tag: v3.14-rc1~54^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f0c34c97b3193fee87a3942047c415d476615db1;p=pandora-kernel.git eeepc-laptop: Convert to use devm_hwmon_device_register_with_groups Simplify the code and avoid race condition caused by creating sysfs attributes after creating the hwmon device. Also replace SENSOR_DEVICE_ATTR with DEVICE_ATTR since the extra argument is not used and SENSOR_DEVICE_ATTR is not needed. Signed-off-by: Guenter Roeck Signed-off-by: Matthew Garrett --- Reading git-diff-tree failed