ACPI: ibm-acpi: Use a enum to select the thermal sensor reading strategy
commit6c9a4c57c3d60fe54af45bdcaef7a211342e1b16
authorHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Fri, 24 Nov 2006 13:47:08 +0000 (24 11:47 -0200)
committerHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Sat, 3 Mar 2007 22:55:06 +0000 (3 19:55 -0300)
tree58ed912b2a394d099f39ea10f49823e0f029ebd6
parent9d914482eb4a70b37b03982565e640b7765dc308
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