diff options
author | Ulf Hansson <ulf.hansson@linaro.org> | 2014-02-04 16:58:51 +0100 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-02-04 19:17:59 +0000 |
commit | 8535736c27cc4e25b9948d857138315f45b6fa34 (patch) | |
tree | f03f7625684186872e277d2cf3f9491f56b310ce /drivers/spi/spi-pl022.c | |
parent | 6cac167b826eced25a2756b996a93c6f7833c49b (diff) | |
download | lwn-8535736c27cc4e25b9948d857138315f45b6fa34.tar.gz lwn-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>
Diffstat (limited to 'drivers/spi/spi-pl022.c')
-rw-r--r-- | drivers/spi/spi-pl022.c | 2 |
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 |