Staging: rtl8723bs: fix names in HalBtc8723b2Ant.h
authorMarco Cesati <marcocesati@gmail.com>
Wed, 17 Mar 2021 22:21:30 +0000 (23:21 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 18 Mar 2021 09:16:48 +0000 (10:16 +0100)
This commit converts names of structs / enums
in hal/HalBtc8723b2Ant.h from ALL_CAPS format to lowercase

Signed-off-by: Marco Cesati <marcocesati@gmail.com>
Link: https://lore.kernel.org/r/20210317222130.29528-44-marcocesati@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.c
drivers/staging/rtl8723bs/hal/HalBtc8723b2Ant.h

index 0e1aa204c0992f214de37d61b093ff114f30d7b1..6edaefa47af1dbdca1439f1b4c4032f79a4868db 100644 (file)
@@ -15,10 +15,10 @@ do {                                                                              \
 } while (0)
 
 /*  Global variables, these are static variables */
-static struct COEX_DM_8723B_2ANT GLCoexDm8723b2Ant;
-static struct COEX_DM_8723B_2ANT *pCoexDm = &GLCoexDm8723b2Ant;
-static struct COEX_STA_8723B_2ANT GLCoexSta8723b2Ant;
-static struct COEX_STA_8723B_2ANT *pCoexSta = &GLCoexSta8723b2Ant;
+static struct coex_dm_8723b_2ant GLCoexDm8723b2Ant;
+static struct coex_dm_8723b_2ant *pCoexDm = &GLCoexDm8723b2Ant;
+static struct coex_sta_8723b_2ant GLCoexSta8723b2Ant;
+static struct coex_sta_8723b_2ant *pCoexSta = &GLCoexSta8723b2Ant;
 
 static const char *const GLBtInfoSrc8723b2Ant[] = {
        "BT Info[wifi fw]",
index 3404440173277bf6df37e6008b4431f967b1a44d..1c220257e2e40cef41721aae913f5a5d67c1f9f4 100644 (file)
 
 #define                BTC_RSSI_COEX_THRESH_TOL_8723B_2ANT             2
 
-enum BT_INFO_SRC_8723B_2ANT {
+enum bt_info_src_8723b_2ant {
        BT_INFO_SRC_8723B_2ANT_WIFI_FW        = 0x0,
        BT_INFO_SRC_8723B_2ANT_BT_RSP         = 0x1,
        BT_INFO_SRC_8723B_2ANT_BT_ACTIVE_SEND = 0x2,
        BT_INFO_SRC_8723B_2ANT_MAX
 };
 
-enum BT_8723B_2ANT_BT_STATUS {
+enum bt_8723b_2ant_bt_status {
        BT_8723B_2ANT_BT_STATUS_NON_CONNECTED_IDLE = 0x0,
        BT_8723B_2ANT_BT_STATUS_CONNECTED_IDLE     = 0x1,
        BT_8723B_2ANT_BT_STATUS_INQ_PAGE           = 0x2,
@@ -33,7 +33,7 @@ enum BT_8723B_2ANT_BT_STATUS {
        BT_8723B_2ANT_BT_STATUS_MAX
 };
 
-enum BT_8723B_2ANT_COEX_ALGO {
+enum bt_8723b_2ant_coex_algo {
        BT_8723B_2ANT_COEX_ALGO_UNDEFINED       = 0x0,
        BT_8723B_2ANT_COEX_ALGO_SCO             = 0x1,
        BT_8723B_2ANT_COEX_ALGO_HID             = 0x2,
@@ -48,7 +48,7 @@ enum BT_8723B_2ANT_COEX_ALGO {
        BT_8723B_2ANT_COEX_ALGO_MAX             = 0xb,
 };
 
-struct COEX_DM_8723B_2ANT {
+struct coex_dm_8723b_2ant {
        /*  fw mechanism */
        u8 preBtDecPwrLvl;
        u8 curBtDecPwrLvl;
@@ -101,7 +101,7 @@ struct COEX_DM_8723B_2ANT {
        u32 backup0x948;
 };
 
-struct COEX_STA_8723B_2ANT {
+struct coex_sta_8723b_2ant {
        bool bBtLinkExist;
        bool bScoExist;
        bool bA2dpExist;