eeepc-laptop: Fix hwmon interface
authorCorentin Chary <corentincj@iksaif.net>
Thu, 9 Oct 2008 13:33:57 +0000 (15:33 +0200)
committerJean Delvare <khali@mahadeva.delvare>
Thu, 9 Oct 2008 13:33:57 +0000 (15:33 +0200)
commit04dcd84bc79d9f756bf5b9fc16c7df3344823ca8
tree816a307993e7d2b516e907eb87b4396768f0d8f9
parent69849375d6b13e94d08cdc94b49b11fbab454a0e
eeepc-laptop: Fix hwmon interface

Creates a name file in the sysfs directory, that
is needed for the libsensors library to work.
Also rename fan1_pwm to pwm1 and scale its value as needed.

This fixes bug #11520:
http://bugzilla.kernel.org/show_bug.cgi?id=11520

Signed-off-by: Corentin Chary <corentincj@iksaif.net>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
drivers/misc/eeepc-laptop.c