Message ID | 20230504200648.1119866-6-cristian.ciocaltea@collabora.com |
---|---|
State | Accepted |
Commit | d325c9dd2b6e94040ca722ddcadcd6af358dd2be |
Headers | show |
Series | [v2,1/8] dt-bindings: nvmem: Convert rockchip-otp.txt to dt-schema | expand |
diff --git a/drivers/nvmem/rockchip-otp.c b/drivers/nvmem/rockchip-otp.c index b62e001f9116..439aea1f8874 100644 --- a/drivers/nvmem/rockchip-otp.c +++ b/drivers/nvmem/rockchip-otp.c @@ -263,7 +263,7 @@ static int rockchip_otp_probe(struct platform_device *pdev) if (ret) return ret; - otp->rst = devm_reset_control_get(dev, "phy"); + otp->rst = devm_reset_control_array_get_exclusive(dev); if (IS_ERR(otp->rst)) return PTR_ERR(otp->rst);