summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUlf Hansson <ulf.hansson@linaro.org>2014-02-04 16:58:51 +0100
committerMark Brown <broonie@linaro.org>2014-02-04 20:17:59 +0100
commit8535736c27cc4e25b9948d857138315f45b6fa34 (patch)
treef03f7625684186872e277d2cf3f9491f56b310ce
parentspi: pl022: Simplify clock handling (diff)
downloadlinux-8535736c27cc4e25b9948d857138315f45b6fa34.tar.xz
linux-8535736c27cc4e25b9948d857138315f45b6fa34.zip
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>
-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)
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