projects
/
platform
/
kernel
/
linux-exynos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d3e49af
)
edd: fix incorrect return of 1 from module_init
author
Alexey Dobriyan
<adobriyan@gmail.com>
Fri, 6 Jun 2008 05:46:03 +0000
(22:46 -0700)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Fri, 6 Jun 2008 18:29:09 +0000
(11:29 -0700)
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Cc: Matt Domsch <Matt_Domsch@dell.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/firmware/edd.c
patch
|
blob
|
history
diff --git
a/drivers/firmware/edd.c
b/drivers/firmware/edd.c
index 744011989044e029ca95cd00b9e3eb9ffed7cfb8..9e4f59dc7f1e77c6b46fc870bca1aae011a407bf 100644
(file)
--- a/
drivers/firmware/edd.c
+++ b/
drivers/firmware/edd.c
@@
-753,7
+753,7
@@
edd_init(void)
if (!edd_num_devices()) {
printk(KERN_INFO "EDD information not available.\n");
- return
1
;
+ return
-ENODEV
;
}
edd_kset = kset_create_and_add("edd", NULL, firmware_kobj);