mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-05 22:55:53 -04:00
staging: r8188eu: rename phy_set_bw_mode to rtw_hal_set_bwmode
And remove two one-line wrappers. Signed-off-by: Ivan Safonov <insafonov@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
bada35ba84
commit
1ac7c98699
@@ -96,14 +96,6 @@ void rtw_hal_update_ra_mask(struct adapter *adapt, u32 mac_id, u8 rssi_level)
|
||||
}
|
||||
}
|
||||
|
||||
void rtw_hal_set_bwmode(struct adapter *adapt,
|
||||
enum ht_channel_width bandwidth, u8 offset)
|
||||
{
|
||||
if (adapt->HalFunc.set_bwmode_handler)
|
||||
adapt->HalFunc.set_bwmode_handler(adapt, bandwidth,
|
||||
offset);
|
||||
}
|
||||
|
||||
void rtw_hal_reset_security_engine(struct adapter *adapter)
|
||||
{
|
||||
if (adapter->HalFunc.hal_reset_security_engine)
|
||||
|
||||
@@ -274,7 +274,7 @@ static void phy_set_bw_mode_callback(struct adapter *adapt)
|
||||
rtl88eu_phy_rf6052_set_bandwidth(adapt, hal_data->CurrentChannelBW);
|
||||
}
|
||||
|
||||
void phy_set_bw_mode(struct adapter *adapt, enum ht_channel_width bandwidth,
|
||||
void rtw_hal_set_bwmode(struct adapter *adapt, enum ht_channel_width bandwidth,
|
||||
unsigned char offset)
|
||||
{
|
||||
struct hal_data_8188e *hal_data = GET_HAL_DATA(adapt);
|
||||
|
||||
@@ -192,8 +192,6 @@ void rtl8188e_set_hal_ops(struct hal_ops *pHalFunc)
|
||||
pHalFunc->dm_init = &rtl8188e_init_dm_priv;
|
||||
|
||||
pHalFunc->read_chip_version = &ReadChipVersion8188E;
|
||||
|
||||
pHalFunc->set_bwmode_handler = &phy_set_bw_mode;
|
||||
}
|
||||
|
||||
/* */
|
||||
|
||||
@@ -147,10 +147,6 @@ struct hal_ops {
|
||||
|
||||
s32 (*interrupt_handler)(struct adapter *padapter);
|
||||
|
||||
void (*set_bwmode_handler)(struct adapter *padapter,
|
||||
enum ht_channel_width Bandwidth,
|
||||
u8 Offset);
|
||||
|
||||
void (*hal_reset_security_engine)(struct adapter *adapter);
|
||||
};
|
||||
|
||||
|
||||
@@ -18,9 +18,6 @@ void phy_set_rf_reg(struct adapter *adapt, enum rf_radio_path rf_path,
|
||||
|
||||
void phy_set_tx_power_level(struct adapter *adapt, u8 channel);
|
||||
|
||||
void phy_set_bw_mode(struct adapter *adapt, enum ht_channel_width bandwidth,
|
||||
unsigned char offset);
|
||||
|
||||
void rtl88eu_dm_txpower_track_adjust(struct odm_dm_struct *dm_odm,
|
||||
u8 type, u8 *dir, u32 *out_write);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user