Skip to content
Snippets Groups Projects
Commit f6266e34 authored by Alexey Dobriyan's avatar Alexey Dobriyan Committed by Linus Torvalds
Browse files

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
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment