diff options
author | Henrique de Moraes Holschuh | 2007-04-27 22:00:12 -0300 |
---|---|---|
committer | Len Brown | 2007-04-28 21:41:19 -0400 |
commit | c573ddb998456a89a5ccb83a922d2c8ba18484a6 (patch) | |
tree | 73a40208efc05e8243ec48788725f11251de4b70 /drivers/misc/lkdtm.c | |
parent | ca4ac2f48a4502bbbfcb47b86312273c28194f53 (diff) |
ACPI: thinkpad-acpi: map ENXIO to EINVAL for fan sysfs
Currently, all fan control operations return ENXIO if unsupported
operations are requested, but return EINVAL if invalid fan modes are
requested on a given ThinkPad.
This is not strictly correct for sysfs, so map ENXIO to EINVAL in the sysfs
attribute store handlers, as we do benefit from the ENXIO in other parts of
the driver code.
Signed-off-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/misc/lkdtm.c')
0 files changed, 0 insertions, 0 deletions