staging: media: lirc: lirc_imon: Add space around the operators
authorAnchal Jain <anchalj109@gmail.com>
Tue, 13 Sep 2016 11:18:01 +0000 (16:48 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 16 Sep 2016 07:51:23 +0000 (09:51 +0200)
CHECK: Add space around the operators { "<<", "*"}.

Signed-off-by: Anchal Jain <anchalj109@gmail.com>
Acked-by: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/media/lirc/lirc_imon.c

index e44f841..ee12da2 100644 (file)
@@ -561,7 +561,7 @@ static void submit_data(struct imon_context *context)
                value |= PULSE_BIT;
 
        for (i = 0; i < 4; ++i)
-               buf[i] = value>>(i*8);
+               buf[i] = value >> (i * 8);
 
        lirc_buffer_write(context->driver->rbuf, buf);
        wake_up(&context->driver->rbuf->wait_poll);