net: davinci_mdio: drop pinctrl_pm_select_default_state from probe
authorGrygorii Strashko <grygorii.strashko@ti.com>
Wed, 30 Apr 2014 12:23:35 +0000 (15:23 +0300)
committerDavid S. Miller <davem@davemloft.net>
Fri, 2 May 2014 20:16:26 +0000 (16:16 -0400)
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>
drivers/net/ethernet/ti/davinci_mdio.c

index 4b202a2721cb4b86d3925e5c72d97bb52f9d918d..47571980f7edbf9f66fbd87d260b63ac44479bce 100644 (file)
@@ -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");