projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6cac167
)
spi: pl022: Remove redundant pinctrl to default state in probe
author
Ulf Hansson
<ulf.hansson@linaro.org>
Tue, 4 Feb 2014 15:58:51 +0000
(16:58 +0100)
committer
Mark Brown
<broonie@linaro.org>
Tue, 4 Feb 2014 19:17:59 +0000
(19:17 +0000)
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>
drivers/spi/spi-pl022.c
patch
|
blob
|
history
diff --git
a/drivers/spi/spi-pl022.c
b/drivers/spi/spi-pl022.c
index 5f7594bc2086f5dcf9d4374965e7f1e92b3cdd1d..74a072924b6530e7ef31c451ef1b763608de6588 100644
(file)
--- 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