Commit 60d676c0 authored by Rusty Russell's avatar Rusty Russell

remoteproc: don't use PTR_RET().

We've already tested that it's an error.

Cc: Robert Tivy <rtivy@ti.com>
Signed-off-by: default avatarRusty Russell <rusty@rustcorp.com.au>
Acked-by: default avatarOhad Ben-Cohen <ohad@wizery.com>
parent 5795c6ac
......@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment