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)
commit0b0b5dff8967a4468f05174d0d74e1ed6e369776
treea3eada83d6495129c9575a2d97f00cff44657b18
parent3eba2bf7c5fb7863412554cd73646cb80ac293ff
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