[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1604375093-6451-1-git-send-email-yejune.deng@gmail.com>
Date: Tue, 3 Nov 2020 11:44:53 +0800
From: Yejune Deng <yejune.deng@...il.com>
To: geert+renesas@...der.be, mturquette@...libre.com, sboyd@...nel.org,
p.zabel@...gutronix.de
Cc: linux-renesas-soc@...r.kernel.org, linux-clk@...r.kernel.org,
linux-kernel@...r.kernel.org, yejune.deng@...il.com
Subject: [PATCH] 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@...il.com>
---
drivers/clk/renesas/rcar-usb2-clock-sel.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/clk/renesas/rcar-usb2-clock-sel.c b/drivers/clk/renesas/rcar-usb2-clock-sel.c
index d4c0298..3abafd7 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);
--
1.9.1
Powered by blists - more mailing lists