projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.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
|
blame
|
history
diff --git
a/drivers/staging/greybus/es1.c
b/drivers/staging/greybus/es1.c
index a7fb4b52991b01cd1b0231f7b24fb1fb2cf56e99..225ef3ff11819ee57f54f80b6ec66f98aa04ede1 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);
}