summaryrefslogtreecommitdiff
path: root/drivers/staging/vc04_services/bcm2835-audio
diff options
context:
space:
mode:
authorAishwarya Pant <aishpant@gmail.com>2017-03-03 21:16:53 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-03-06 16:12:31 +0300
commitda2ee3eeb8a4000844a2cceb2c07cb4b3ea8bb1c (patch)
tree905e4b2a73c0246e0cdca7954168702378498695 /drivers/staging/vc04_services/bcm2835-audio
parent637e078eafa21b11001490f0abd0255690be2166 (diff)
downloadlinux-da2ee3eeb8a4000844a2cceb2c07cb4b3ea8bb1c.tar.xz
staging: bcm2835-audio: remove spaces after cast
Remove instances of unnecessary blank space after cast in bcm2835-vchiq.c Signed-off-by: Aishwarya Pant <aishpant@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/vc04_services/bcm2835-audio')
-rw-r--r--drivers/staging/vc04_services/bcm2835-audio/bcm2835-vchiq.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/vc04_services/bcm2835-audio/bcm2835-vchiq.c b/drivers/staging/vc04_services/bcm2835-audio/bcm2835-vchiq.c
index df1f3dd9e226..3cc75b381f4c 100644
--- a/drivers/staging/vc04_services/bcm2835-audio/bcm2835-vchiq.c
+++ b/drivers/staging/vc04_services/bcm2835-audio/bcm2835-vchiq.c
@@ -125,7 +125,7 @@ static void my_wq_function(struct work_struct *work)
LOG_ERR(" Unexpected work: %p:%d\n", w->alsa_stream, w->cmd);
break;
}
- kfree((void *) work);
+ kfree((void *)work);
LOG_DBG(" .. OUT %d\n", ret);
}
@@ -854,7 +854,7 @@ static int bcm2835_audio_write_worker(struct bcm2835_alsa_stream *alsa_stream,
NULL);
} else {
while (count > 0) {
- int bytes = min((int) m.u.write.max_packet, (int) count);
+ int bytes = min((int)m.u.write.max_packet, (int)count);
status = bcm2835_vchi_msg_queue(instance->vchi_handle[0],
src, bytes);