Commit efdc4313 authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

greybus: es1: fix checkpatch warning about blank lines needed

Add a blank line in apb1_log_enable_read() to make checkpatch happy.

Oh, and it makes the code more readable too...
Signed-off-by: default avatarGreg Kroah-Hartman <greg@kroah.com>
parent 64b8a16f
...@@ -573,6 +573,7 @@ static ssize_t apb1_log_enable_read(struct file *f, char __user *buf, ...@@ -573,6 +573,7 @@ static ssize_t apb1_log_enable_read(struct file *f, char __user *buf,
{ {
char tmp_buf[3]; char tmp_buf[3];
int enable = apb1_log_task != NULL; int enable = apb1_log_task != NULL;
sprintf(tmp_buf, "%d\n", enable); sprintf(tmp_buf, "%d\n", enable);
return simple_read_from_buffer(buf, count, ppos, tmp_buf, 3); return simple_read_from_buffer(buf, count, ppos, tmp_buf, 3);
} }
......
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