spi: lm70llp: 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>
This commit is contained in:
committed by
Mark Brown
parent
832329d75a
commit
25fb1a46e0
@@ -294,7 +294,7 @@ out_off_and_release:
|
|||||||
out_parport_unreg:
|
out_parport_unreg:
|
||||||
parport_unregister_device(pd);
|
parport_unregister_device(pd);
|
||||||
out_free_master:
|
out_free_master:
|
||||||
(void) spi_master_put(master);
|
spi_master_put(master);
|
||||||
out_fail:
|
out_fail:
|
||||||
pr_info("%s: spi_lm70llp probe fail, status %d\n", DRVNAME, status);
|
pr_info("%s: spi_lm70llp probe fail, status %d\n", DRVNAME, status);
|
||||||
}
|
}
|
||||||
@@ -315,7 +315,7 @@ static void spi_lm70llp_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);
|
||||||
|
|
||||||
lm70llp = NULL;
|
lm70llp = NULL;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user