aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/spi/spi-pl022.c
diff options
context:
space:
mode:
authorUlf Hansson <ulf.hansson@linaro.org>2014-02-04 10:58:51 -0500
committerMark Brown <broonie@linaro.org>2014-02-04 14:17:59 -0500
commit8535736c27cc4e25b9948d857138315f45b6fa34 (patch)
treef03f7625684186872e277d2cf3f9491f56b310ce /drivers/spi/spi-pl022.c
parent6cac167b826eced25a2756b996a93c6f7833c49b (diff)
spi: pl022: Remove redundant pinctrl to default state in probe
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>
Diffstat (limited to 'drivers/spi/spi-pl022.c')
-rw-r--r--drivers/spi/spi-pl022.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/spi/spi-pl022.c b/drivers/spi/spi-pl022.c
index 5f7594bc2086..74a072924b65 100644
--- a/drivers/spi/spi-pl022.c
+++ b/drivers/spi/spi-pl022.c
@@ -2109,8 +2109,6 @@ static int pl022_probe(struct amba_device *adev, const struct amba_id *id)
2109 pl022->chipselects = devm_kzalloc(dev, num_cs * sizeof(int), 2109 pl022->chipselects = devm_kzalloc(dev, num_cs * sizeof(int),
2110 GFP_KERNEL); 2110 GFP_KERNEL);
2111 2111
2112 pinctrl_pm_select_default_state(dev);
2113
2114 /* 2112 /*
2115 * Bus Number Which has been Assigned to this SSP controller 2113 * Bus Number Which has been Assigned to this SSP controller
2116 * on this board 2114 * on this board