Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Staging: rtl8723bs: fix names in hal_btcoex.c

This commit converts names of structs / enums
in hal/hal_btcoex.c from ALL_CAPS format to lowercase

Signed-off-by: Marco Cesati <marcocesati@gmail.com>
Link: https://lore.kernel.org/r/20210317222130.29528-38-marcocesati@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Marco Cesati and committed by
Greg Kroah-Hartman
ba08ce20 86d6c0ae

+6 -6
+6 -6
drivers/staging/rtl8723bs/hal/hal_btcoex.c
··· 20 20 u32 GLBtcDbgType[BTC_MSG_MAX]; 21 21 static u8 GLBtcDbgBuf[BT_TMP_BUF_SIZE]; 22 22 23 - struct BTCDBGINFO { /* _btcoexdbginfo */ 23 + struct btcdbginfo { /* _btcoexdbginfo */ 24 24 u8 *info; 25 25 u32 size; /* buffer total size */ 26 26 u32 len; /* now used length */ 27 27 }; 28 28 29 - static struct BTCDBGINFO GLBtcDbgInfo; 29 + static struct btcdbginfo GLBtcDbgInfo; 30 30 31 31 #define BT_Operation(Adapter) false 32 32 33 - static void DBG_BT_INFO_INIT(struct BTCDBGINFO *pinfo, u8 *pbuf, u32 size) 33 + static void DBG_BT_INFO_INIT(struct btcdbginfo *pinfo, u8 *pbuf, u32 size) 34 34 { 35 35 if (!pinfo) 36 36 return; 37 37 38 - memset(pinfo, 0, sizeof(struct BTCDBGINFO)); 38 + memset(pinfo, 0, sizeof(struct btcdbginfo)); 39 39 40 40 if (pbuf && size) { 41 41 pinfo->info = pbuf; ··· 45 45 46 46 void DBG_BT_INFO(u8 *dbgmsg) 47 47 { 48 - struct BTCDBGINFO *pinfo; 48 + struct btcdbginfo *pinfo; 49 49 u32 msglen; 50 50 u8 *pbuf; 51 51 ··· 1490 1490 1491 1491 void hal_btcoex_DisplayBtCoexInfo(struct adapter *padapter, u8 *pbuf, u32 bufsize) 1492 1492 { 1493 - struct BTCDBGINFO *pinfo; 1493 + struct btcdbginfo *pinfo; 1494 1494 1495 1495 1496 1496 pinfo = &GLBtcDbgInfo;