pinctrl: tegra: explicitly request exclusive reset control
authorPhilipp Zabel <p.zabel@pengutronix.de>
Wed, 19 Jul 2017 15:26:12 +0000 (17:26 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 14 Aug 2017 13:01:02 +0000 (15:01 +0200)
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: Linus Walleij <linus.walleij@linaro.org>
Cc: Thierry Reding <thierry.reding@gmail.com>
Cc: Jonathan Hunter <jonathanh@nvidia.com>
Cc: linux-gpio@vger.kernel.org
Cc: linux-tegra@vger.kernel.org
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/tegra/pinctrl-tegra-xusb.c

index ebedc2d324115b69b3c0bba7287247cbe61e777f..9d653c24219cbe3c49aa5d5fe66d63ffba7effa5 100644 (file)
@@ -901,7 +901,7 @@ int tegra_xusb_padctl_legacy_probe(struct platform_device *pdev)
        if (IS_ERR(padctl->regs))
                return PTR_ERR(padctl->regs);
 
-       padctl->rst = devm_reset_control_get(&pdev->dev, NULL);
+       padctl->rst = devm_reset_control_get_exclusive(&pdev->dev, NULL);
        if (IS_ERR(padctl->rst))
                return PTR_ERR(padctl->rst);