ACPI: ibm-acpi: Use a enum to select the thermal sensor reading strategy
authorHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Fri, 24 Nov 2006 13:47:08 +0000 (11:47 -0200)
committerLen Brown <len.brown@intel.com>
Thu, 7 Dec 2006 06:38:38 +0000 (01:38 -0500)
commita26f878abcd0491906b5bbac8dd174f27019e907
tree0453e9e9cd51bb35f049a8cd87bfaeb7a30ecce3
parent8d29726434697a5ed08d4e0dfba9399a098922f4
ACPI: ibm-acpi: Use a enum to select the thermal sensor reading strategy

This patch consolidades all decisions regarding the strategy to be used to
read thinkpad thermal sensors into a single enum, and refactors the
thermal sensor reading code to use a much more readable (and easier to
extend) switch() construct, in a separate function.

Signed-off-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
drivers/acpi/ibm_acpi.c