diff options
author | Andrew Morton <akpm@osdl.org> | 2006-04-10 22:54:32 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-04-11 06:18:45 -0700 |
commit | b3f28a9a26d9e8a02119cc8d1604fdb891c23697 (patch) | |
tree | 4c4824ace558ee350d1a1c68701c30d50bdd1bb7 | |
parent | 4791c03d2c3b9b6822784f6d7c8e5bbadb1f35ae (diff) | |
download | op-kernel-dev-b3f28a9a26d9e8a02119cc8d1604fdb891c23697.zip op-kernel-dev-b3f28a9a26d9e8a02119cc8d1604fdb891c23697.tar.gz |
[PATCH] hdaps: use ENODEV
Use ENODEV when the hdaps hardware isn't there, not ENXIO.
Cc: Jean Delvare <khali@linux-fr.org>
Cc: Robert Love <rml@novell.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-rw-r--r-- | drivers/hwmon/hdaps.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hwmon/hdaps.c b/drivers/hwmon/hdaps.c index 69897a6..1659f6c 100644 --- a/drivers/hwmon/hdaps.c +++ b/drivers/hwmon/hdaps.c @@ -544,7 +544,7 @@ static int __init hdaps_init(void) if (!dmi_check_system(hdaps_whitelist)) { printk(KERN_WARNING "hdaps: supported laptop not found!\n"); - ret = -ENXIO; + ret = -ENODEV; goto out; } |