Commit a53e35db70d1 ("reset: Ensure drivers are explicit when requesting
reset lines") started to transition the reset control request API calls
to explicitly state whether the driver needs exclusive or shared reset
control behavior. Convert all drivers requesting exclusive resets to the
explicit API call so the temporary transition helpers can be removed.

No functional changes.

Cc: Ralf Baechle <r...@linux-mips.org>
Cc: linux-m...@linux-mips.org
Signed-off-by: Philipp Zabel <p.za...@pengutronix.de>
---
 arch/mips/pci/pci-mt7620.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/mips/pci/pci-mt7620.c b/arch/mips/pci/pci-mt7620.c
index 628c5132b3d8b..4e633c1e7ff3e 100644
--- a/arch/mips/pci/pci-mt7620.c
+++ b/arch/mips/pci/pci-mt7620.c
@@ -291,7 +291,7 @@ static int mt7620_pci_probe(struct platform_device *pdev)
                                                          IORESOURCE_MEM, 1);
        u32 val = 0;
 
-       rstpcie0 = devm_reset_control_get(&pdev->dev, "pcie0");
+       rstpcie0 = devm_reset_control_get_exclusive(&pdev->dev, "pcie0");
        if (IS_ERR(rstpcie0))
                return PTR_ERR(rstpcie0);
 
-- 
2.11.0

Reply via email to