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

staging: rtl8723bs: beautify function ODM_PhyStatusQuery()

beautify function ODM_PhyStatusQuery().
Fix camel case name, put more than one argument per
line, fix camel case in arugment names.

Signed-off-by: Fabio Aiuto <fabioaiuto83@gmail.com>
Link: https://lore.kernel.org/r/5e17b5ece9dbeb526f7a9aff147bf8767d39395c.1628329348.git.fabioaiuto83@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Fabio Aiuto and committed by
Greg Kroah-Hartman
3bd25c95 c328eee4

+5 -13
+2 -6
drivers/staging/rtl8723bs/hal/odm_HWConfig.c
··· 393 393 /* */ 394 394 /* Endianness before calling this API */ 395 395 /* */ 396 - void ODM_PhyStatusQuery( 397 - struct dm_odm_t *dm_odm, 398 - struct odm_phy_info *phy_info, 399 - u8 *phy_status, 400 - struct odm_packet_info *pkt_info 401 - ) 396 + void odm_phy_status_query(struct dm_odm_t *dm_odm, struct odm_phy_info *phy_info, 397 + u8 *phy_status, struct odm_packet_info *pkt_info) 402 398 { 403 399 404 400 odm_rx_phy_status_parsing(dm_odm, phy_info, phy_status, pkt_info);
+2 -6
drivers/staging/rtl8723bs/hal/odm_HWConfig.h
··· 76 76 #endif 77 77 }; 78 78 79 - void ODM_PhyStatusQuery( 80 - struct dm_odm_t *pDM_Odm, 81 - struct odm_phy_info *pPhyInfo, 82 - u8 *pPhyStatus, 83 - struct odm_packet_info *pPktinfo 84 - ); 79 + void odm_phy_status_query(struct dm_odm_t *dm_odm, struct odm_phy_info *phy_info, 80 + u8 *phy_status, struct odm_packet_info *pkt_info); 85 81 86 82 enum hal_status ODM_ConfigRFWithTxPwrTrackHeaderFile(struct dm_odm_t *pDM_Odm); 87 83
+1 -1
drivers/staging/rtl8723bs/hal/rtl8723bs_recv.c
··· 129 129 130 130 /* rtl8723b_query_rx_phy_status(precvframe, pphy_status); */ 131 131 /* spin_lock_bh(&p_hal_data->odm_stainfo_lock); */ 132 - ODM_PhyStatusQuery(&p_hal_data->odmpriv, p_phy_info, 132 + odm_phy_status_query(&p_hal_data->odmpriv, p_phy_info, 133 133 (u8 *)pphy_status, &(pkt_info)); 134 134 if (psta) 135 135 psta->rssi = pattrib->phy_info.RecvSignalPower;