ACPI: ibm-acpi: break fan_read into separate functions
authorHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Fri, 24 Nov 2006 13:47:10 +0000 (11:47 -0200)
committerLen Brown <len.brown@intel.com>
Thu, 7 Dec 2006 06:38:39 +0000 (01:38 -0500)
commitc52f0aa574246f133a0bc2041e9468a06d34da7b
tree751cd39312a9cc2645735f736e1dea771d1d8d32
parent3ef8a6096ca98d45a54999a97c7c8e14977d2e3e
ACPI: ibm-acpi: break fan_read into separate functions

This patch breaks fan_read mechanics into a generic function to get fan
status and speed, and leaves only the procfs interface code in fan_read.

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