diff options
author | Yejune Deng <yejune.deng@gmail.com> | 2020-11-03 05:37:54 +0100 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2020-11-16 08:34:47 +0100 |
commit | 3cc8e86721adbd24de7303bbb5a82464ba9e324a (patch) | |
tree | b4da5eb84e95cc0c8fd5009c843e0ace6466be8f /drivers/phy/amlogic/phy-meson-g12a-usb3-pcie.c | |
parent | dt-bindings: phy: Add Cadence Sierra PHY bindings in YAML format (diff) | |
download | linux-3cc8e86721adbd24de7303bbb5a82464ba9e324a.tar.xz linux-3cc8e86721adbd24de7303bbb5a82464ba9e324a.zip |
phy: amlogic: Replace devm_reset_control_array_get()
devm_reset_control_array_get_exclusive() looks more readable
Signed-off-by: Yejune Deng <yejune.deng@gmail.com>
Reviewed-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Link: https://lore.kernel.org/r/1604378274-6860-1-git-send-email-yejune.deng@gmail.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/phy/amlogic/phy-meson-g12a-usb3-pcie.c')
-rw-r--r-- | drivers/phy/amlogic/phy-meson-g12a-usb3-pcie.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/phy/amlogic/phy-meson-g12a-usb3-pcie.c b/drivers/phy/amlogic/phy-meson-g12a-usb3-pcie.c index ebe3d0ddd304..5b471ab80fe2 100644 --- a/drivers/phy/amlogic/phy-meson-g12a-usb3-pcie.c +++ b/drivers/phy/amlogic/phy-meson-g12a-usb3-pcie.c @@ -416,7 +416,7 @@ static int phy_g12a_usb3_pcie_probe(struct platform_device *pdev) if (ret) goto err_disable_clk_ref; - priv->reset = devm_reset_control_array_get(dev, false, false); + priv->reset = devm_reset_control_array_get_exclusive(dev); if (IS_ERR(priv->reset)) return PTR_ERR(priv->reset); |