staging: vt6655: Rename two dimensional array declaration
authorMadhumitha Prabakaran <madhumithabiw@gmail.com>
Mon, 15 Mar 2021 00:46:41 +0000 (19:46 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 16 Mar 2021 11:36:20 +0000 (12:36 +0100)
Rename two dimensional array declaration to fix checkpatch warning: Avoid
Camelcase and make the declaration more readable and understandable

Signed-off-by: Madhumitha Prabakaran <madhumithabiw@gmail.com>
Link: https://lore.kernel.org/r/20210315004641.378933-1-madhumithabiw@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6655/baseband.c

index 1aa6752..d891632 100644 (file)
@@ -52,7 +52,7 @@
 /*---------------------  Static Variables  --------------------------*/
 
 #define CB_VT3253_INIT_FOR_RFMD 446
-static const unsigned char byVT3253InitTab_RFMD[CB_VT3253_INIT_FOR_RFMD][2] = {
+static const unsigned char by_vt3253_init_tab_rfmd[CB_VT3253_INIT_FOR_RFMD][2] = {
        {0x00, 0x30},
        {0x01, 0x00},
        {0x02, 0x00},
@@ -2002,8 +2002,8 @@ bool bb_vt3253_init(struct vnt_private *priv)
                if (by_local_id <= REV_ID_VT3253_A1) {
                        for (ii = 0; ii < CB_VT3253_INIT_FOR_RFMD; ii++)
                                result &= bb_write_embedded(priv,
-                                       byVT3253InitTab_RFMD[ii][0],
-                                       byVT3253InitTab_RFMD[ii][1]);
+                                       by_vt3253_init_tab_rfmd[ii][0],
+                                       by_vt3253_init_tab_rfmd[ii][1]);
 
                } else {
                        for (ii = 0; ii < CB_VT3253B0_INIT_FOR_RFMD; ii++)