summaryrefslogtreecommitdiffstats
path: root/drivers/soc/amlogic/meson-gx-pwrc-vpu.c
diff options
context:
space:
mode:
authorYejune Deng <yejune.deng@gmail.com>2020-11-18 03:48:20 +0100
committerKevin Hilman <khilman@baylibre.com>2020-12-01 01:23:11 +0100
commit1116e43e7e4be7c7d76578ffac1d3a73f4ebcafe (patch)
tree19e3811f072c62bbb378a3a1eca19fd2d0cca073 /drivers/soc/amlogic/meson-gx-pwrc-vpu.c
parentsoc: amlogic: canvas: add missing put_device() call in meson_canvas_get() (diff)
downloadlinux-1116e43e7e4be7c7d76578ffac1d3a73f4ebcafe.tar.xz
linux-1116e43e7e4be7c7d76578ffac1d3a73f4ebcafe.zip
soc: amlogic: replace devm_reset_control_array_get()
devm_reset_control_array_get_exclusive() looks more readable Signed-off-by: Yejune Deng <yejune.deng@gmail.com> Reviewed-by: Philipp Zabel <p.zabel@pengutronix.de> Reviewed-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> Signed-off-by: Kevin Hilman <khilman@baylibre.com> Link: https://lore.kernel.org/r/1605667700-16681-1-git-send-email-yejune.deng@gmail.com
Diffstat (limited to 'drivers/soc/amlogic/meson-gx-pwrc-vpu.c')
-rw-r--r--drivers/soc/amlogic/meson-gx-pwrc-vpu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/soc/amlogic/meson-gx-pwrc-vpu.c b/drivers/soc/amlogic/meson-gx-pwrc-vpu.c
index 8790627e3098..b4615b288625 100644
--- a/drivers/soc/amlogic/meson-gx-pwrc-vpu.c
+++ b/drivers/soc/amlogic/meson-gx-pwrc-vpu.c
@@ -304,7 +304,7 @@ static int meson_gx_pwrc_vpu_probe(struct platform_device *pdev)
return PTR_ERR(regmap_hhi);
}
- rstc = devm_reset_control_array_get(&pdev->dev, false, false);
+ rstc = devm_reset_control_array_get_exclusive(&pdev->dev);
if (IS_ERR(rstc)) {
if (PTR_ERR(rstc) != -EPROBE_DEFER)
dev_err(&pdev->dev, "failed to get reset lines\n");