commit | a26f878abcd0491906b5bbac8dd174f27019e907 | [log] [tgz] |
---|---|---|
author | Henrique de Moraes Holschuh <hmh@hmh.eng.br> | Fri Nov 24 11:47:08 2006 -0200 |
committer | Len Brown <len.brown@intel.com> | Thu Dec 07 01:38:38 2006 -0500 |
tree | 0453e9e9cd51bb35f049a8cd87bfaeb7a30ecce3 | |
parent | 8d29726434697a5ed08d4e0dfba9399a098922f4 [diff] |
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>