diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2013-07-15 03:54:08 +0200 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2013-07-15 03:55:04 +0200 |
commit | 60d676c007964576e83d791fc0908af8d133519f (patch) | |
tree | e4dd8434101c91ed41679e55058200f159aa4c6c | |
parent | pinctrl: don't use PTR_RET(). (diff) | |
download | linux-60d676c007964576e83d791fc0908af8d133519f.tar.xz linux-60d676c007964576e83d791fc0908af8d133519f.zip |
remoteproc: don't use PTR_RET().
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>
-rw-r--r-- | drivers/remoteproc/da8xx_remoteproc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/remoteproc/da8xx_remoteproc.c b/drivers/remoteproc/da8xx_remoteproc.c index 9b2e60afa1a6..129f7b997866 100644 --- 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); |