spi: butterfly: remove cast to void
authorSudip Mukherjee <sudipm.mukherjee@gmail.com>
Wed, 2 Dec 2015 13:47:49 +0000 (19:17 +0530)
committerMark Brown <broonie@kernel.org>
Wed, 2 Dec 2015 19:38:16 +0000 (19:38 +0000)
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>
drivers/spi/spi-butterfly.c

index f520eaa193c53becf492b497f1a10a3d332c6a05..8fc284d0d7c3926e31b99a65a2e4b3ae28d8bb3c 100644 (file)
@@ -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 = {