diff options
author | Henrique de Moraes Holschuh <hmh@hmh.eng.br> | 2006-11-24 11:47:10 -0200 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2006-12-07 01:38:39 -0500 |
commit | 3ef8a6096ca98d45a54999a97c7c8e14977d2e3e (patch) | |
tree | f1ebed3d60e21778a277759a0a3f5ff08938e058 /drivers/block/paride/frpw.c | |
parent | 69ba91cbd6d79aa197adbdd10a44e71c84044b44 (diff) |
ACPI: ibm-acpi: clean up fan_read
This patch cleans up fan_read so that it is much easier to read and
extend.
The patch fixes the userspace ABI to return "status: not supported" (like
all other ibm-acpi functions) when neither fan status or fan control are
possible.
It also fixes the userspace ABI to return EIO if ACPI access to the EC
fails, instead of returning "status: unreadable" or "speed: unreadable".
Signed-off-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
Diffstat (limited to 'drivers/block/paride/frpw.c')
0 files changed, 0 insertions, 0 deletions