]> git.baikalelectronics.ru Git - kernel.git/commit
hwmon: (applesmc) Simplify feature sysfs handling
authorHenrik Rydberg <rydberg@euromail.se>
Tue, 9 Nov 2010 15:15:09 +0000 (15:15 +0000)
committerGuenter Roeck <guenter.roeck@ericsson.com>
Sat, 8 Jan 2011 18:55:43 +0000 (10:55 -0800)
commit76c616464612c833176e1e3e98ae14e9a1f40ba0
treea3eada83d6495129c9575a2d97f00cff44657b18
parent5b4fa764e675abec9cb16674607770a5cba8a553
hwmon: (applesmc) Simplify feature sysfs handling

Given the dynamic node construction method, the setup of the
accelerometer, light sensor and keyboard backlight sysfs nodes
can be simplified. This patch does not contain any logic changes.

Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
drivers/hwmon/applesmc.c