staging: ks7010: fix space related style issues in ks7010_sdio.c
authorAkshay Mariyanna <akmlkcc@gmail.com>
Sun, 9 Oct 2016 19:12:20 +0000 (00:42 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 16 Oct 2016 08:25:47 +0000 (10:25 +0200)
This fixes the following checkpatch warnings:
WARNING: Unnecessary space before function pointer arguments
WARNING: unnecessary whitespace before a quoted newline

Signed-off-by: Akshay Mariyanna <akmlkcc@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/ks7010/ks7010_sdio.c

index a37cadffe539bc8ff3662de079a734e2699f2cab..b02980d9bec242b5186ee61bbbdf40e174fd06b7 100644 (file)
@@ -254,7 +254,7 @@ int ks_wlan_hw_power_save(struct ks_wlan_private *priv)
 
 static int enqueue_txdev(struct ks_wlan_private *priv, unsigned char *p,
                         unsigned long size,
-                        void (*complete_handler) (void *arg1, void *arg2),
+                        void (*complete_handler)(void *arg1, void *arg2),
                         void *arg1, void *arg2)
 {
        struct tx_device_buffer *sp;
@@ -353,7 +353,7 @@ static void tx_device_task(void *dev)
 }
 
 int ks_wlan_hw_tx(struct ks_wlan_private *priv, void *p, unsigned long size,
-                 void (*complete_handler) (void *arg1, void *arg2),
+                 void (*complete_handler)(void *arg1, void *arg2),
                  void *arg1, void *arg2)
 {
        int result = 0;
@@ -413,7 +413,7 @@ static void ks_wlan_hw_rx(void *dev, uint16_t size)
        /* receive data */
        if (cnt_rxqbody(priv) >= (RX_DEVICE_BUFF_SIZE - 1)) {
                /* in case of buffer overflow */
-               DPRINTK(1, "rx buffer overflow \n");
+               DPRINTK(1, "rx buffer overflow\n");
                goto error_out;
        }
        rx_buffer = &priv->rx_dev.rx_dev_buff[priv->rx_dev.qtail];