]> git.karo-electronics.de Git - linux-beck.git/commitdiff
spi: pl022: Remove redundant pinctrl to default state in probe
authorUlf Hansson <ulf.hansson@linaro.org>
Tue, 4 Feb 2014 15:58:51 +0000 (16:58 +0100)
committerMark Brown <broonie@linaro.org>
Tue, 4 Feb 2014 19:17:59 +0000 (19:17 +0000)
The driver core is now taking care of putting our pins into default
state at probe. Thus we can remove the redundant call for it in probe.

Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/spi/spi-pl022.c

index 5f7594bc2086f5dcf9d4374965e7f1e92b3cdd1d..74a072924b6530e7ef31c451ef1b763608de6588 100644 (file)
@@ -2109,8 +2109,6 @@ static int pl022_probe(struct amba_device *adev, const struct amba_id *id)
        pl022->chipselects = devm_kzalloc(dev, num_cs * sizeof(int),
                                          GFP_KERNEL);
 
-       pinctrl_pm_select_default_state(dev);
-
        /*
         * Bus Number Which has been Assigned to this SSP controller
         * on this board