Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -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);