diff options
author | Sudip Mukherjee <sudipm.mukherjee@gmail.com> | 2015-12-03 07:59:55 -0500 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-12-04 07:17:21 -0500 |
commit | 25fb1a46e0f707b7660a96703843e66dd46f67ae (patch) | |
tree | 96d49337339f03db5a5b3b5208dc63b6e94605d1 | |
parent | 832329d75a854863c99724193d9619aec1e68368 (diff) |
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>
-rw-r--r-- | drivers/spi/spi-lm70llp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/spi/spi-lm70llp.c b/drivers/spi/spi-lm70llp.c index 70370288dfed..133e76c38c54 100644 --- a/drivers/spi/spi-lm70llp.c +++ b/drivers/spi/spi-lm70llp.c | |||
@@ -294,7 +294,7 @@ out_off_and_release: | |||
294 | out_parport_unreg: | 294 | out_parport_unreg: |
295 | parport_unregister_device(pd); | 295 | parport_unregister_device(pd); |
296 | out_free_master: | 296 | out_free_master: |
297 | (void) spi_master_put(master); | 297 | spi_master_put(master); |
298 | out_fail: | 298 | out_fail: |
299 | pr_info("%s: spi_lm70llp probe fail, status %d\n", DRVNAME, status); | 299 | pr_info("%s: spi_lm70llp probe fail, status %d\n", DRVNAME, status); |
300 | } | 300 | } |
@@ -315,7 +315,7 @@ static void spi_lm70llp_detach(struct parport *p) | |||
315 | parport_release(pp->pd); | 315 | parport_release(pp->pd); |
316 | parport_unregister_device(pp->pd); | 316 | parport_unregister_device(pp->pd); |
317 | 317 | ||
318 | (void) spi_master_put(pp->bitbang.master); | 318 | spi_master_put(pp->bitbang.master); |
319 | 319 | ||
320 | lm70llp = NULL; | 320 | lm70llp = NULL; |
321 | } | 321 | } |