]> asedeno.scripts.mit.edu Git - linux.git/commit
staging: rtl8723bs: hal: Replace function PHY_GetTxPowerIndex()
authorNishka Dasgupta <nishkadg.linux@gmail.com>
Thu, 25 Jul 2019 05:26:39 +0000 (10:56 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 25 Jul 2019 07:58:26 +0000 (09:58 +0200)
commit9dd2f1d9a1580717605a8f2ce882105710966b7a
tree72a5d90b35cb72570496d0efccef0cfb14d7e989
parentfe2ffeb5fdd297ad90f6252defbd635ca3037367
staging: rtl8723bs: hal: Replace function PHY_GetTxPowerIndex()

Remove function PHY_GetTxPowerIndex as it does nothing except call
PHY_GetTxPowerIndex_8723B.
Rename PHY_GetTxPowerIndex_8723B to PHY_GetTxPowerIndex to maintain
compatibility with call site.
Issue found with Coccinelle.

Signed-off-by: Nishka Dasgupta <nishkadg.linux@gmail.com>
Link: https://lore.kernel.org/r/20190725052645.2372-3-nishkadg.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/hal/hal_com_phycfg.c
drivers/staging/rtl8723bs/hal/rtl8723b_phycfg.c
drivers/staging/rtl8723bs/include/hal_com_phycfg.h
drivers/staging/rtl8723bs/include/hal_phy_cfg.h