]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit90a5bab308b670f8923eac3d2a7f209c3bd57c61
tree816a307993e7d2b516e907eb87b4396768f0d8f9
parent114623d638f3676937e4ffe5a231a2693db527e4
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