Henrique de Moraes Holschuh
3ef8a6096c
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>
2006-12-07 01:38:39 -05:00
..
2006-10-05 15:10:12 +01:00
2006-12-07 01:38:39 -05:00
2006-06-27 09:23:59 -07:00
2006-10-11 04:59:46 -04:00
2006-10-06 15:00:58 -04:00
2006-10-18 12:49:56 -07:00
2006-10-18 12:53:51 -07:00
2006-10-20 01:15:04 -07:00
2006-10-10 16:15:33 -07:00
2006-10-20 10:26:44 -07:00
2006-10-04 07:55:14 -07:00
2006-07-31 13:28:36 -07:00
2006-10-04 07:55:30 -07:00
2006-09-21 11:46:22 +10:00
2006-10-10 15:37:21 -07:00
2006-08-06 08:57:46 -07:00
2006-10-11 11:14:25 -07:00
2006-10-05 15:10:12 +01:00
2006-10-20 10:26:44 -07:00
2006-10-18 13:03:09 -07:00
2006-10-18 13:03:09 -07:00
2006-10-17 08:18:42 -07:00
2006-10-08 12:28:41 -07:00
2006-10-16 20:22:35 -07:00
2006-10-17 14:46:31 -07:00
2006-10-20 10:26:43 -07:00
2006-10-17 08:18:46 -07:00
2006-10-10 13:56:13 +10:00
2006-10-11 11:14:25 -07:00
2006-10-20 10:26:35 -07:00
2006-10-14 00:44:29 -03:00
2006-10-17 08:18:46 -07:00
2006-10-05 15:10:12 +01:00
2006-10-17 08:18:42 -07:00
2006-10-10 15:37:22 -07:00
2006-10-10 15:37:22 -07:00
2006-10-20 10:40:48 -07:00
2006-06-30 19:25:36 +02:00
2006-09-27 08:26:18 -07:00
2006-10-06 20:47:23 -06:00
2006-10-08 12:32:35 -07:00
2006-10-20 17:56:39 -07:00
2006-10-09 14:21:45 -07:00
2006-10-18 11:36:11 -07:00
2006-10-03 22:31:37 +02:00
2006-10-17 08:18:47 -07:00
2006-10-18 18:30:53 +02:00
2006-10-17 19:28:52 -07:00
2006-10-20 10:26:38 -07:00
2006-10-20 10:26:36 -07:00
2006-10-17 08:18:42 -07:00
2006-10-06 15:00:58 -04:00
2006-10-08 02:38:28 +01:00
2006-10-18 08:45:30 -04:00
2006-10-20 17:56:39 -07:00
2006-10-18 08:53:37 -04:00
2006-10-17 08:18:44 -07:00
2006-06-30 19:25:36 +02:00
2006-10-17 08:18:42 -07:00
2006-08-10 07:31:37 -04:00