diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2013-07-14 21:53:32 -0400 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2013-07-14 21:55:03 -0400 |
commit | 5795c6ac7c77dc2363c41948cf828916c17cf78f (patch) | |
tree | 84d50f57b77cd670397aaa5472ffb1ceff915c9a /drivers/pinctrl | |
parent | 5d7e438629413586ab78779751caa6e713c2234c (diff) |
pinctrl: don't use PTR_RET().
We've already tested that it's an error.
Cc: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'drivers/pinctrl')
-rw-r--r-- | drivers/pinctrl/mvebu/pinctrl-dove.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pinctrl/mvebu/pinctrl-dove.c b/drivers/pinctrl/mvebu/pinctrl-dove.c index 048ae80adabd..29f7e4fc7ca5 100644 --- a/drivers/pinctrl/mvebu/pinctrl-dove.c +++ b/drivers/pinctrl/mvebu/pinctrl-dove.c | |||
@@ -785,7 +785,7 @@ static int dove_pinctrl_probe(struct platform_device *pdev) | |||
785 | clk = devm_clk_get(&pdev->dev, NULL); | 785 | clk = devm_clk_get(&pdev->dev, NULL); |
786 | if (IS_ERR(clk)) { | 786 | if (IS_ERR(clk)) { |
787 | dev_err(&pdev->dev, "Unable to get pdma clock"); | 787 | dev_err(&pdev->dev, "Unable to get pdma clock"); |
788 | return PTR_RET(clk); | 788 | return PTR_ERR(clk); |
789 | } | 789 | } |
790 | clk_prepare_enable(clk); | 790 | clk_prepare_enable(clk); |
791 | 791 | ||