From: Henrique de Moraes Holschuh Date: Sun, 11 Jan 2009 05:01:08 +0000 (-0200) Subject: ACPI: thinkpad-acpi: clean-up fan subdriver quirk X-Git-Tag: v2.6.29-rc2~1^2~2^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1c2ece758a36b48133717e4db060fbe8fa52c5cd;p=pandora-kernel.git 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 Cc: Tino Keitel Signed-off-by: Len Brown --- Reading git-diff-tree failed