hwmon: (applesmc) Dynamic creation of fan files
authorHenrik Rydberg <rydberg@euromail.se>
Tue, 9 Nov 2010 15:15:08 +0000 (15:15 +0000)
committerGuenter Roeck <guenter.roeck@ericsson.com>
Sat, 8 Jan 2011 18:55:42 +0000 (10:55 -0800)
commit3eba2bf7c5fb7863412554cd73646cb80ac293ff
treecaca1638ca1a022adcc8e77d8a7e23ad805e14ee
parent40ef06f1120bcc0a2ad483b5cd42f58c4df78a5b
hwmon: (applesmc) Dynamic creation of fan files

With the dynamic temperature group in place, the setup of fans
can be simplified. This patch sets up the fans dynamically, removing
a hundred lines of code.

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