staging: pi433: add space before open parenthesis
authorValentin Vidic <Valentin.Vidic@CARNet.hr>
Sun, 10 Dec 2017 14:31:06 +0000 (15:31 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 13 Dec 2017 11:56:29 +0000 (12:56 +0100)
Fixes checkpatch error for missing spaces.

Signed-off-by: Valentin Vidic <Valentin.Vidic@CARNet.hr>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/pi433/pi433_if.c

index 32db3b3..9c1787e 100644 (file)
@@ -438,7 +438,7 @@ pi433_receive(void *data)
        /* wait for any tx to finish */
        dev_dbg(dev->dev,"rx: going to wait for any tx to finish");
        retval = wait_event_interruptible(dev->rx_wait_queue, !dev->tx_active);
-       if(retval) /* wait was interrupted */
+       if (retval) /* wait was interrupted */
        {
                dev->interrupt_rx_allowed = true;
                wake_up_interruptible(&dev->tx_wait_queue);
@@ -725,7 +725,7 @@ pi433_tx_thread(void *data)
                device->free_in_fifo = FIFO_SIZE;
                position = 0;
                repetitions = tx_cfg.repetitions;
-               while( (repetitions > 0) && (size > position) )
+               while ( (repetitions > 0) && (size > position) )
                {
                        if ( (size - position) > device->free_in_fifo)
                        {       /* msg to big for fifo - take a part */