diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2013-07-14 21:54:08 -0400 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2013-07-14 21:55:04 -0400 |
commit | 60d676c007964576e83d791fc0908af8d133519f (patch) | |
tree | e4dd8434101c91ed41679e55058200f159aa4c6c /drivers/remoteproc | |
parent | 5795c6ac7c77dc2363c41948cf828916c17cf78f (diff) |
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>
Diffstat (limited to 'drivers/remoteproc')
-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) | |||
165 | dsp_clk = clk_get(dev, NULL); | 165 | dsp_clk = clk_get(dev, NULL); |
166 | if (IS_ERR(dsp_clk)) { | 166 | if (IS_ERR(dsp_clk)) { |
167 | dev_err(dev, "clk_get error: %ld\n", PTR_ERR(dsp_clk)); | 167 | dev_err(dev, "clk_get error: %ld\n", PTR_ERR(dsp_clk)); |
168 | return PTR_RET(dsp_clk); | 168 | return PTR_ERR(dsp_clk); |
169 | } | 169 | } |
170 | 170 | ||
171 | davinci_clk_reset_assert(dsp_clk); | 171 | davinci_clk_reset_assert(dsp_clk); |