]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging: vt6655: Add spaces around +
authorPrasannaKumar Muralidharan <prasannatsmkumar@gmail.com>
Sat, 3 Dec 2016 05:55:51 +0000 (11:25 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 6 Dec 2016 09:18:07 +0000 (10:18 +0100)
Add spaces around + for better readability of the code.

Signed-off-by: PrasannaKumar Muralidharan <prasannatsmkumar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6655/device_main.c

index a6f7a4f0dcd5f8642aac09ee944215be4c784f72..da0f711910091a49edfc55ca7ef21701d15e26f1 100644 (file)
@@ -310,7 +310,7 @@ static void device_init_registers(struct vnt_private *priv)
                        SROMbyReadEmbedded(priv->PortOffset,
                                           (unsigned char)(ii + EEP_OFS_CCK_PWR_TBL));
                if (priv->abyCCKPwrTbl[ii + 1] == 0)
-                       priv->abyCCKPwrTbl[ii+1] = priv->byCCKPwr;
+                       priv->abyCCKPwrTbl[ii + 1] = priv->byCCKPwr;
 
                priv->abyOFDMPwrTbl[ii + 1] =
                        SROMbyReadEmbedded(priv->PortOffset,
@@ -552,7 +552,7 @@ static void device_init_rd0_ring(struct vnt_private *priv)
                if (!device_alloc_rx_buf(priv, desc))
                        dev_err(&priv->pcid->dev, "can not alloc rx bufs\n");
 
-               desc->next = &(priv->aRD0Ring[(i+1) % priv->opts.rx_descs0]);
+               desc->next = &(priv->aRD0Ring[(i + 1) % priv->opts.rx_descs0]);
                desc->next_desc = cpu_to_le32(curr + sizeof(struct vnt_rx_desc));
        }