projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
97bf6af
)
spi/fsl: unnecessary double init_completion removed
author
Nicholas Mc Guire
<der.herr@hofr.at>
Tue, 23 Dec 2014 17:41:33 +0000
(18:41 +0100)
committer
Mark Brown
<broonie@kernel.org>
Wed, 24 Dec 2014 11:57:53 +0000
(11:57 +0000)
The double call to init_completion(&mpc8xxx_spi->done); is not needed
presumably this is a editing mistake only.
Signed-off-by: Nicholas Mc Guire <der.herr@hofr.at>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-fsl-lib.c
patch
|
blob
|
history
diff --git
a/drivers/spi/spi-fsl-lib.c
b/drivers/spi/spi-fsl-lib.c
index 446b737e153261f473008cb1ac774cc68e94dc1f..9d3f9e097861cf4481b1b135f8265191523c02cb 100644
(file)
--- a/
drivers/spi/spi-fsl-lib.c
+++ b/
drivers/spi/spi-fsl-lib.c
@@
-102,8
+102,6
@@
void mpc8xxx_spi_probe(struct device *dev, struct resource *mem,
mpc8xxx_spi->rx_shift = 0;
mpc8xxx_spi->tx_shift = 0;
- init_completion(&mpc8xxx_spi->done);
-
master->bus_num = pdata->bus_num;
master->num_chipselect = pdata->max_chipselect;