]> git.baikalelectronics.ru Git - kernel.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)
commit4c7c1494088228e1f988abfb3e13dcbf8987d19a
tree72a5d90b35cb72570496d0efccef0cfb14d7e989
parent2cdc43037f4a93b4ee4657e719b1fbfdc0176838
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