aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYejune Deng2020-11-03 11:44:53 +0800
committerGeert Uytterhoeven2020-12-10 08:34:01 +0100
commit4ef39a80da8b15ed933d387bc02ec14df4f4f1a7 (patch)
tree8127f19350bdfdfb02c2840db0e2fc22a057f508
parentfb9805c51793339e0affbc8e3ce2b3210b41c9fa (diff)
clk: renesas: rcar-usb2-clock-sel: Replace devm_reset_control_array_get()
devm_reset_control_array_get_shared() looks more readable Signed-off-by: Yejune Deng <yejune.deng@gmail.com> Link: https://lore.kernel.org/r/1604375093-6451-1-git-send-email-yejune.deng@gmail.com Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
-rw-r--r--drivers/clk/renesas/rcar-usb2-clock-sel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/renesas/rcar-usb2-clock-sel.c b/drivers/clk/renesas/rcar-usb2-clock-sel.c
index d4c02986c34e..3abafd78f7c8 100644
--- a/drivers/clk/renesas/rcar-usb2-clock-sel.c
+++ b/drivers/clk/renesas/rcar-usb2-clock-sel.c
@@ -160,7 +160,7 @@ static int rcar_usb2_clock_sel_probe(struct platform_device *pdev)
if (ret < 0)
return ret;
- priv->rsts = devm_reset_control_array_get(dev, true, false);
+ priv->rsts = devm_reset_control_array_get_shared(dev);
if (IS_ERR(priv->rsts))
return PTR_ERR(priv->rsts);