[PATCH 4/4] phy: qualcomm: qcom-m31: Do not request reset by index

From: Philipp Zabel

Date: Fri Nov 06 2026 - 10:05:27 EST


There is no need to request a single reset by index.
Use devm_reset_control_get_exclusive() to request the first and only
reset.

Signed-off-by: Philipp Zabel <p.zabel@xxxxxxxxxxxxxx>
---
drivers/phy/qualcomm/phy-qcom-m31.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/phy/qualcomm/phy-qcom-m31.c b/drivers/phy/qualcomm/phy-qcom-m31.c
index 168ea980fda0..b38c3f40b85f 100644
--- a/drivers/phy/qualcomm/phy-qcom-m31.c
+++ b/drivers/phy/qualcomm/phy-qcom-m31.c
@@ -284,7 +284,7 @@ static int m31usb_phy_probe(struct platform_device *pdev)
if (IS_ERR(qphy->base))
return PTR_ERR(qphy->base);

- qphy->reset = devm_reset_control_get_exclusive_by_index(dev, 0);
+ qphy->reset = devm_reset_control_get_exclusive(dev, NULL);
if (IS_ERR(qphy->reset))
return PTR_ERR(qphy->reset);


--
2.47.3