diff options
author | Sudip Mukherjee <sudipm.mukherjee@gmail.com> | 2015-12-02 19:17:49 +0530 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-12-02 19:38:16 +0000 |
commit | b12fe7250cf013622d064a280b87b19448d26d00 (patch) | |
tree | fc1d655c947e9a484590e7c41094f59e292213a8 | |
parent | 1bfa91e9255065e8f5b8aef869eee57b8badf61e (diff) |
spi: butterfly: remove cast to void
checkpatch was complaining about space after cast. But the cast to void
is not required at that place.
Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r-- | drivers/spi/spi-butterfly.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/spi/spi-butterfly.c b/drivers/spi/spi-butterfly.c index f520eaa193c5..8fc284d0d7c3 100644 --- a/drivers/spi/spi-butterfly.c +++ b/drivers/spi/spi-butterfly.c @@ -289,7 +289,7 @@ clean2: clean1: parport_unregister_device(pd); clean0: - (void) spi_master_put(pp->bitbang.master); + spi_master_put(pp->bitbang.master); done: pr_debug("%s: butterfly probe, fail %d\n", p->name, status); } @@ -317,7 +317,7 @@ static void butterfly_detach(struct parport *p) parport_release(pp->pd); parport_unregister_device(pp->pd); - (void) spi_master_put(pp->bitbang.master); + spi_master_put(pp->bitbang.master); } static struct parport_driver butterfly_driver = { |