projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
64b8a16
)
greybus: es1: fix checkpatch warning about blank lines needed
author
Greg Kroah-Hartman
<greg@kroah.com>
Tue, 24 Mar 2015 19:34:02 +0000
(20:34 +0100)
committer
Greg Kroah-Hartman
<greg@kroah.com>
Tue, 24 Mar 2015 19:34:02 +0000
(20:34 +0100)
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: Greg Kroah-Hartman <greg@kroah.com>
drivers/staging/greybus/es1.c
patch
|
blob
|
history
diff --git
a/drivers/staging/greybus/es1.c
b/drivers/staging/greybus/es1.c
index
a7fb4b5
..
225ef3f
100644
(file)
--- a/
drivers/staging/greybus/es1.c
+++ b/
drivers/staging/greybus/es1.c
@@
-573,6
+573,7
@@
static ssize_t apb1_log_enable_read(struct file *f, char __user *buf,
{
char tmp_buf[3];
int enable = apb1_log_task != NULL;
+
sprintf(tmp_buf, "%d\n", enable);
return simple_read_from_buffer(buf, count, ppos, tmp_buf, 3);
}