mirror of https://gitee.com/openkylin/linux.git
drivers: staging: greybus: audio_manager_sysfs.c: Fixed CHECK for brace issue
Added braces to else and else if statements where checkpatch complained. Signed-off-by: Chase Metzger <chasemetzger15@gmail.com> Reviewed-by: Vaibhav Agarwal <vaibhav.sr@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
32623b0d28
commit
2072763cf0
|
@ -71,10 +71,11 @@ static ssize_t manager_sysfs_dump_store(
|
|||
num = gb_audio_manager_dump_module(id);
|
||||
if (num)
|
||||
return num;
|
||||
} else if (!strncmp("all", buf, 3))
|
||||
} else if (!strncmp("all", buf, 3)) {
|
||||
gb_audio_manager_dump_all();
|
||||
else
|
||||
} else {
|
||||
return -EINVAL;
|
||||
}
|
||||
|
||||
return count;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue