summaryrefslogtreecommitdiffstats
path: root/drivers/hwmon
diff options
context:
space:
mode:
authorAndrew Morton <akpm@osdl.org>2006-04-11 07:54:32 +0200
committerLinus Torvalds <torvalds@g5.osdl.org>2006-04-11 15:18:45 +0200
commitb3f28a9a26d9e8a02119cc8d1604fdb891c23697 (patch)
tree4c4824ace558ee350d1a1c68701c30d50bdd1bb7 /drivers/hwmon
parent[PATCH] ipmi: fix event queue limit (diff)
downloadlinux-b3f28a9a26d9e8a02119cc8d1604fdb891c23697.tar.xz
linux-b3f28a9a26d9e8a02119cc8d1604fdb891c23697.zip
[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>
Diffstat (limited to 'drivers/hwmon')
-rw-r--r--drivers/hwmon/hdaps.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hwmon/hdaps.c b/drivers/hwmon/hdaps.c
index 69897a66b837..1659f6c41458 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;
}