Commit 61e0c324 authored by Ivan Safonov's avatar Ivan Safonov Committed by Greg Kroah-Hartman

staging: r8188eu: rename _ReadAdapterInfo8188EU to rtw_hal_read_chip_info

And remove two one-line wrappers.
Signed-off-by: default avatarIvan Safonov <insafonov@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 655266d5
...@@ -25,12 +25,6 @@ void rtw_hal_chip_configure(struct adapter *adapt) ...@@ -25,12 +25,6 @@ void rtw_hal_chip_configure(struct adapter *adapt)
adapt->HalFunc.intf_chip_configure(adapt); adapt->HalFunc.intf_chip_configure(adapt);
} }
void rtw_hal_read_chip_info(struct adapter *adapt)
{
if (adapt->HalFunc.read_adapter_info)
adapt->HalFunc.read_adapter_info(adapt);
}
void rtw_hal_read_chip_version(struct adapter *adapt) void rtw_hal_read_chip_version(struct adapter *adapt)
{ {
if (adapt->HalFunc.read_chip_version) if (adapt->HalFunc.read_chip_version)
......
...@@ -1137,7 +1137,7 @@ static void _ReadRFType(struct adapter *Adapter) ...@@ -1137,7 +1137,7 @@ static void _ReadRFType(struct adapter *Adapter)
haldata->rf_chip = RF_6052; haldata->rf_chip = RF_6052;
} }
static void _ReadAdapterInfo8188EU(struct adapter *Adapter) void rtw_hal_read_chip_info(struct adapter *Adapter)
{ {
unsigned long start = jiffies; unsigned long start = jiffies;
...@@ -2077,7 +2077,6 @@ void rtl8188eu_set_hal_ops(struct adapter *adapt) ...@@ -2077,7 +2077,6 @@ void rtl8188eu_set_hal_ops(struct adapter *adapt)
halfunc->init_default_value = &rtl8188eu_init_default_value; halfunc->init_default_value = &rtl8188eu_init_default_value;
halfunc->intf_chip_configure = &rtl8188eu_interface_configure; halfunc->intf_chip_configure = &rtl8188eu_interface_configure;
halfunc->read_adapter_info = &_ReadAdapterInfo8188EU;
rtl8188e_set_hal_ops(halfunc); rtl8188e_set_hal_ops(halfunc);
} }
...@@ -164,8 +164,6 @@ struct hal_ops { ...@@ -164,8 +164,6 @@ struct hal_ops {
void (*intf_chip_configure)(struct adapter *padapter); void (*intf_chip_configure)(struct adapter *padapter);
void (*read_adapter_info)(struct adapter *padapter);
s32 (*interrupt_handler)(struct adapter *padapter); s32 (*interrupt_handler)(struct adapter *padapter);
void (*set_bwmode_handler)(struct adapter *padapter, void (*set_bwmode_handler)(struct adapter *padapter,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment