mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial
Pull trivial tree updates from Jiri Kosina. * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: kfifo: fix inaccurate comment tools/thermal: tmon: fix for segfault net: Spelling s/stucture/structure/ edd: don't spam log if no EDD information is present Documentation: Fix early-microcode.txt references after file rename tracing: Block comments should align the * on each line treewide: Fix typos in printk GenWQE: Fix a typo in two comments treewide: Align function definition open/close braces
This commit is contained in:
commit
672a9c1069
40 changed files with 60 additions and 61 deletions
|
|
@ -748,14 +748,12 @@ edd_init(void)
|
|||
int rc=0;
|
||||
struct edd_device *edev;
|
||||
|
||||
if (!edd_num_devices())
|
||||
return -ENODEV;
|
||||
|
||||
printk(KERN_INFO "BIOS EDD facility v%s %s, %d devices found\n",
|
||||
EDD_VERSION, EDD_DATE, edd_num_devices());
|
||||
|
||||
if (!edd_num_devices()) {
|
||||
printk(KERN_INFO "EDD information not available.\n");
|
||||
return -ENODEV;
|
||||
}
|
||||
|
||||
edd_kset = kset_create_and_add("edd", NULL, firmware_kobj);
|
||||
if (!edd_kset)
|
||||
return -ENOMEM;
|
||||
|
|
|
|||
Loading…
Reference in a new issue