Skip to content

Commit

Permalink
spi: pl022: Remove redundant pinctrl to default state in probe
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Ulf Hansson authored and Mark Brown committed Feb 4, 2014
1 parent 6cac167 commit 8535736
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/spi/spi-pl022.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8535736

Please sign in to comment.