Forráskód Böngészése

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>
Ulf Hansson 11 éve
szülő
commit
8535736c27
1 módosított fájl, 0 hozzáadás és 2 törlés
  1. 0 2
      drivers/spi/spi-pl022.c

+ 0 - 2
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