diff options
author | Henrique de Moraes Holschuh <hmh@hmh.eng.br> | 2009-01-11 00:01:08 -0500 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2009-01-15 13:47:14 -0500 |
commit | 1c2ece758a36b48133717e4db060fbe8fa52c5cd (patch) | |
tree | c0ab4d86ba1726eafee6a713d24ee89e572db8ad /drivers/ata/pata_isapnp.c | |
parent | cb4293589855714b6d5079336019bf2af5fc41f8 (diff) |
ACPI: thinkpad-acpi: clean-up fan subdriver quirk
Better document the Unitialized HFSP quirk, and modularize it a bit.
This makes the code flow easier to read and reduces LOC.
Apply the Unitialized HFSP closer to the source (i.e. inside the
get_fan_status()), this fixes a harmless buglet where at driver init
with the quirk active, the user could set the hwmon pwm1 attribute and
switch out of pwm1_mode=2 to pwm1_mode=0 without changing pwm1_mode
directly.
Signed-off-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
Cc: Tino Keitel <tino.keitel@tikei.de>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/ata/pata_isapnp.c')
0 files changed, 0 insertions, 0 deletions