ACPI: ibm-acpi: cleanup fan_write
authorHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Fri, 24 Nov 2006 13:47:11 +0000 (11:47 -0200)
committerLen Brown <len.brown@intel.com>
Thu, 7 Dec 2006 06:38:39 +0000 (01:38 -0500)
commit18ad7996e17649d81c15a2c9dae03c75050a05a8
tree315f495abce21d92180fa589a4cf4af3eba9fb7d
parentc52f0aa574246f133a0bc2041e9468a06d34da7b
ACPI: ibm-acpi: cleanup fan_write

This patch cleans up fan_write so that it is much easier to read and
extend.  It separates the proc api handling from the operations themselves.

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