Commit f6266e34 authored by Alexey Dobriyan's avatar Alexey Dobriyan Committed by Linus Torvalds

edd: fix incorrect return of 1 from module_init

Signed-off-by: default avatarAlexey Dobriyan <adobriyan@gmail.com>
Cc: Matt Domsch <Matt_Domsch@dell.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent d3e49afb
...@@ -753,7 +753,7 @@ edd_init(void) ...@@ -753,7 +753,7 @@ edd_init(void)
if (!edd_num_devices()) { if (!edd_num_devices()) {
printk(KERN_INFO "EDD information not available.\n"); printk(KERN_INFO "EDD information not available.\n");
return 1; return -ENODEV;
} }
edd_kset = kset_create_and_add("edd", NULL, firmware_kobj); edd_kset = kset_create_and_add("edd", NULL, firmware_kobj);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment