projects
/
platform
/
adaptation
/
renesas_rcar
/
renesas_kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5795c6a
)
remoteproc: don't use PTR_RET().
author
Rusty Russell
<rusty@rustcorp.com.au>
Mon, 15 Jul 2013 01:54:08 +0000
(11:24 +0930)
committer
Rusty Russell
<rusty@rustcorp.com.au>
Mon, 15 Jul 2013 01:55:04 +0000
(11:25 +0930)
We've already tested that it's an error.
Cc: Robert Tivy <rtivy@ti.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Acked-by: Ohad Ben-Cohen <ohad@wizery.com>
drivers/remoteproc/da8xx_remoteproc.c
patch
|
blob
|
history
diff --git
a/drivers/remoteproc/da8xx_remoteproc.c
b/drivers/remoteproc/da8xx_remoteproc.c
index
9b2e60a
..
129f7b9
100644
(file)
--- a/
drivers/remoteproc/da8xx_remoteproc.c
+++ b/
drivers/remoteproc/da8xx_remoteproc.c
@@
-165,7
+165,7
@@
static int reset_assert(struct device *dev)
dsp_clk = clk_get(dev, NULL);
if (IS_ERR(dsp_clk)) {
dev_err(dev, "clk_get error: %ld\n", PTR_ERR(dsp_clk));
- return PTR_
RET
(dsp_clk);
+ return PTR_
ERR
(dsp_clk);
}
davinci_clk_reset_assert(dsp_clk);