]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5b4fa764e675abec9cb16674607770a5cba8a553
treecaca1638ca1a022adcc8e77d8a7e23ad805e14ee
parentb09c0bc623036f505604b58f813d4f05d3fb43e1
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