Commit b12fe725 authored by Sudip Mukherjee's avatar Sudip Mukherjee Committed by Mark Brown

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: default avatarSudip Mukherjee <sudip@vectorindia.org>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 1bfa91e9
...@@ -289,7 +289,7 @@ static void butterfly_attach(struct parport *p) ...@@ -289,7 +289,7 @@ static void butterfly_attach(struct parport *p)
clean1: clean1:
parport_unregister_device(pd); parport_unregister_device(pd);
clean0: clean0:
(void) spi_master_put(pp->bitbang.master); spi_master_put(pp->bitbang.master);
done: done:
pr_debug("%s: butterfly probe, fail %d\n", p->name, status); pr_debug("%s: butterfly probe, fail %d\n", p->name, status);
} }
...@@ -317,7 +317,7 @@ static void butterfly_detach(struct parport *p) ...@@ -317,7 +317,7 @@ static void butterfly_detach(struct parport *p)
parport_release(pp->pd); parport_release(pp->pd);
parport_unregister_device(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 = { static struct parport_driver butterfly_driver = {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment