driver:staging:dgnc Fix spaces preferred around that ...
authorBogicevic Sasa <brutallesale@gmail.com>
Fri, 13 Nov 2015 14:07:21 +0000 (15:07 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 21 Dec 2015 23:50:56 +0000 (15:50 -0800)
This fixes all "spaces preferred around that ..." messages from
checkpatch.pl

Signed-off-by: Bogicevic Sasa <brutallesale@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/dgnc/dgnc_neo.c

index 8106f5234bf519e6d79efdd903b8d0dff02a8356..15c255d184dce3502bdd81dc4fa0c686b52f12ac 100644 (file)
@@ -1628,7 +1628,7 @@ static void neo_uart_init(struct channel_t *ch)
 
        /* Clear out UART and FIFO */
        readb(&ch->ch_neo_uart->txrx);
-       writeb((UART_FCR_ENABLE_FIFO|UART_FCR_CLEAR_RCVR|UART_FCR_CLEAR_XMIT), &ch->ch_neo_uart->isr_fcr);
+       writeb((UART_FCR_ENABLE_FIFO | UART_FCR_CLEAR_RCVR | UART_FCR_CLEAR_XMIT), &ch->ch_neo_uart->isr_fcr);
        readb(&ch->ch_neo_uart->lsr);
        readb(&ch->ch_neo_uart->msr);
 
@@ -1779,8 +1779,8 @@ static void neo_vpd(struct dgnc_board *brd)
        /* Store the VPD into our buffer */
        for (i = 0; i < NEO_VPD_IMAGESIZE; i++) {
                a = neo_read_eeprom(brd->re_map_membase, i);
-               brd->vpd[i*2] = a & 0xff;
-               brd->vpd[(i*2)+1] = (a >> 8) & 0xff;
+               brd->vpd[i * 2] = a & 0xff;
+               brd->vpd[(i * 2) + 1] = (a >> 8) & 0xff;
        }
 
        if  (((brd->vpd[0x08] != 0x82)     /* long resource name tag */