git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cf508f4
)
eeepc-laptop: Convert to use devm_hwmon_device_register_with_groups
author
Guenter Roeck
<linux@roeck-us.net>
Sat, 23 Nov 2013 19:03:21 +0000
(11:03 -0800)
committer
Matthew Garrett
<matthew.garrett@nebula.com>
Tue, 21 Jan 2014 13:44:03 +0000
(08:44 -0500)
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 <linux@roeck-us.net>
Signed-off-by: Matthew Garrett <matthew.garrett@nebula.com>
drivers/platform/x86/eeepc-laptop.c
patch
|
blob
|
history
diff --cc
drivers/platform/x86/eeepc-laptop.c
Simple merge