]> www.infradead.org Git - linux.git/commitdiff
staging: rtl8192e: Fix parenthesis alignment
authorVinicius Peixoto <vpeixoto@lkcamp.dev>
Thu, 22 Aug 2024 00:23:43 +0000 (21:23 -0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 22 Aug 2024 07:49:45 +0000 (15:49 +0800)
Fix parenthesis alignment in rtl92e_init_gain in order to silence the
following checkpatch warning:

CHECK: Alignment should match open parenthesis

Signed-off-by: Vinicius Peixoto <vpeixoto@lkcamp.dev>
Link: https://lore.kernel.org/r/20240822002346.94433-1-vpeixoto@lkcamp.dev
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192e/rtl8192e/r8192E_phy.c

index 3f55b59b9b49aced63426da238736d101ca525f4..6bed5363ec54ae6f908e1fedbdf8bd8b7333fac3 100644 (file)
@@ -945,19 +945,19 @@ void rtl92e_init_gain(struct net_device *dev, u8 Operation)
                case IG_Restore:
                        BitMask = 0x7f;
                        rtl92e_set_bb_reg(dev, rOFDM0_XAAGCCore1, BitMask,
-                                        (u32)priv->initgain_backup.xaagccore1);
+                                         (u32)priv->initgain_backup.xaagccore1);
                        rtl92e_set_bb_reg(dev, rOFDM0_XBAGCCore1, BitMask,
-                                        (u32)priv->initgain_backup.xbagccore1);
+                                         (u32)priv->initgain_backup.xbagccore1);
                        rtl92e_set_bb_reg(dev, rOFDM0_XCAGCCore1, BitMask,
-                                        (u32)priv->initgain_backup.xcagccore1);
+                                         (u32)priv->initgain_backup.xcagccore1);
                        rtl92e_set_bb_reg(dev, rOFDM0_XDAGCCore1, BitMask,
-                                        (u32)priv->initgain_backup.xdagccore1);
+                                         (u32)priv->initgain_backup.xdagccore1);
                        BitMask  = bMaskByte2;
                        rtl92e_set_bb_reg(dev, rCCK0_CCA, BitMask,
-                                        (u32)priv->initgain_backup.cca);
+                                         (u32)priv->initgain_backup.cca);
 
                        rtl92e_set_tx_power(dev,
-                                        priv->rtllib->current_network.channel);
+                                           priv->rtllib->current_network.channel);
                        break;
                }
        }