diff options
author | Grygorii Strashko <grygorii.strashko@ti.com> | 2014-04-30 15:23:35 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-05-02 16:16:26 -0400 |
commit | 4e8b4c802cb829d29a87fd905e4d74ecf22ef4b4 (patch) | |
tree | b754b9592b3f8964894a7f1b1419300544dfd4e4 | |
parent | 50d0636eefd97f868a5bd85a4c59d60abea30b50 (diff) | |
download | blackbird-op-linux-4e8b4c802cb829d29a87fd905e4d74ecf22ef4b4.tar.gz blackbird-op-linux-4e8b4c802cb829d29a87fd905e4d74ecf22ef4b4.zip |
net: davinci_mdio: drop pinctrl_pm_select_default_state from probe
The "default" pinctrl state is set by Drivers core now before
calling the driver's probe.
Hence, it's safe to drop pinctrl_pm_select_default_state() call
from Davinci mdio driver probe.
Cc: Florian Fainelli <f.fainelli@gmail.com>
Cc: Linus Walleij <linus.walleij@linaro.org>
Acked-and-tested-by: Lad, Prabhakar <prabhakar.csengg@gmail.com>
Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | drivers/net/ethernet/ti/davinci_mdio.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/net/ethernet/ti/davinci_mdio.c b/drivers/net/ethernet/ti/davinci_mdio.c index 4b202a2721cb..47571980f7ed 100644 --- a/drivers/net/ethernet/ti/davinci_mdio.c +++ b/drivers/net/ethernet/ti/davinci_mdio.c @@ -348,9 +348,6 @@ static int davinci_mdio_probe(struct platform_device *pdev) data->bus->parent = dev; data->bus->priv = data; - /* Select default pin state */ - pinctrl_pm_select_default_state(&pdev->dev); - pm_runtime_enable(&pdev->dev); pm_runtime_get_sync(&pdev->dev); data->clk = devm_clk_get(dev, "fck"); |