projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4791c03
)
[PATCH] hdaps: use ENODEV
author
Andrew Morton
<akpm@osdl.org>
Tue, 11 Apr 2006 05:54:32 +0000
(22:54 -0700)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Tue, 11 Apr 2006 13:18:45 +0000
(06:18 -0700)
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>
drivers/hwmon/hdaps.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/hwmon/hdaps.c
b/drivers/hwmon/hdaps.c
index 69897a66b837e45147fefb5a790a6aa14092a6d1..1659f6c414581c9ad737b161edb575073dcd98c6 100644
(file)
--- 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 = -EN
XIO
;
+ ret = -EN
ODEV
;
goto out;
}