staging: rtl8192e: Rename Op, Length and Value
authorDragan Cvetic <dragan.m.cvetic@gmail.com>
Mon, 10 Oct 2022 19:04:57 +0000 (20:04 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 20 Oct 2022 15:32:24 +0000 (17:32 +0200)
Rename variable Op to op, Length to length and Value to value to avoid
CamelCase which is not accepted by checkpatch.

Signed-off-by: Dragan Cvetic <dragan.m.cvetic@gmail.com>
Tested-by: Philipp Hortmann <philipp.g.hortmann@gmail.com>
Link: https://lore.kernel.org/r/20221010190457.13199-4-dragan.m.cvetic@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192e/rtl8192e/rtl_dm.c
drivers/staging/rtl8192e/rtl8192e/rtl_dm.h

index 0572ce4..c9e4955 100644 (file)
@@ -628,9 +628,9 @@ static void _rtl92e_dm_tx_power_tracking_callback_tssi(struct net_device *dev)
 
        for (j = 0; j <= 30; j++) {
 
-               tx_cmd.Op               = TXCMD_SET_TX_PWR_TRACKING;
-               tx_cmd.Length   = 4;
-               tx_cmd.Value            = Value;
+               tx_cmd.op       = TXCMD_SET_TX_PWR_TRACKING;
+               tx_cmd.length   = 4;
+               tx_cmd.value    = Value;
                rtl92e_send_cmd_pkt(dev, DESC_PACKET_TYPE_NORMAL, (u8 *)&tx_cmd,
                                    sizeof(struct dcmd_txcmd));
                mdelay(1);
index 89c58e3..1d4d7d9 100644 (file)
@@ -152,9 +152,9 @@ enum dm_cck_rx_path_method {
 
 
 struct dcmd_txcmd {
-       u32     Op;
-       u32     Length;
-       u32     Value;
+       u32     op;
+       u32     length;
+       u32     value;
 };
 /*------------------------------Define structure----------------------------*/