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: Bin Liu <[email protected]>
Cc: Greg Kroah-Hartman <[email protected]>
Cc: Maxime Ripard <[email protected]>
Cc: Chen-Yu Tsai <[email protected]>
Cc: [email protected]
Signed-off-by: Philipp Zabel <[email protected]>
---
 drivers/usb/musb/sunxi.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/usb/musb/sunxi.c b/drivers/usb/musb/sunxi.c
index c9a09b5bb6e59..7eec1acbc729a 100644
--- a/drivers/usb/musb/sunxi.c
+++ b/drivers/usb/musb/sunxi.c
@@ -747,7 +747,7 @@ static int sunxi_musb_probe(struct platform_device *pdev)
        }
 
        if (test_bit(SUNXI_MUSB_FL_HAS_RESET, &glue->flags)) {
-               glue->rst = devm_reset_control_get(&pdev->dev, NULL);
+               glue->rst = devm_reset_control_get_exclusive(&pdev->dev, NULL);
                if (IS_ERR(glue->rst)) {
                        if (PTR_ERR(glue->rst) == -EPROBE_DEFER)
                                return -EPROBE_DEFER;
-- 
2.11.0

Reply via email to