aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/remoteproc/remoteproc.c
diff options
context:
space:
mode:
authorSubramaniam C.A <subramaniam.ca@ti.com>2012-01-30 10:18:26 -0600
committerZiyann <jaraidaniel@gmail.com>2014-10-01 12:59:43 +0200
commit94aab97ea48ef87128b085e98c03f2beb3371ec1 (patch)
tree34f11904ec6c307734b5b4416871ec5e14ddafb8 /drivers/remoteproc/remoteproc.c
parent0f208a08e7d6e811b03d7d51fe8a0607cef13d77 (diff)
downloadkernel_samsung_tuna-94aab97ea48ef87128b085e98c03f2beb3371ec1.zip
kernel_samsung_tuna-94aab97ea48ef87128b085e98c03f2beb3371ec1.tar.gz
kernel_samsung_tuna-94aab97ea48ef87128b085e98c03f2beb3371ec1.tar.bz2
remoteproc: fix checkpatch warnings
A few checkpatch warnings have crept into remoteproc over time, and these have been fixed. Change-Id: Ife21b9c063505f4ceb4f7f4fd6561c854fc99b90 Signed-off-by: Subramaniam C.A <subramaniam.ca@ti.com> Signed-off-by: Suman Anna <s-anna@ti.com> Conflicts: drivers/remoteproc/remoteproc.c
Diffstat (limited to 'drivers/remoteproc/remoteproc.c')
-rwxr-xr-x[-rw-r--r--]drivers/remoteproc/remoteproc.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/drivers/remoteproc/remoteproc.c b/drivers/remoteproc/remoteproc.c
index c6ffaba..8c12205 100644..100755
--- a/drivers/remoteproc/remoteproc.c
+++ b/drivers/remoteproc/remoteproc.c
@@ -88,8 +88,8 @@ static ssize_t rproc_format_trace_buf(struct rproc *rproc, char __user *userbuf,
;
if (i > w_pos)
- num_copied =
- simple_read_from_buffer(userbuf, count, ppos, src, i);
+ num_copied = simple_read_from_buffer(userbuf, count,
+ ppos, src, i);
if (!num_copied) {
from_beg = 1;
*ppos = 0;
@@ -102,8 +102,8 @@ print_beg:
;
if (i) {
- num_copied =
- simple_read_from_buffer(userbuf, count, ppos, src, i);
+ num_copied = simple_read_from_buffer(userbuf, count,
+ ppos, src, i);
if (!num_copied)
from_beg = 0;
ret = num_copied;
@@ -1083,9 +1083,8 @@ static int rproc_process_fw(struct rproc *rproc, struct fw_section *section,
ret = rproc_handle_resources(rproc,
(struct fw_resource *) section->content,
len, bootaddr);
- if (ret) {
+ if (ret)
break;
- }
}
if (section->type <= FW_DATA) {