rtl8xxxu: Rename rtl8723a_disabled_to_emu() to rtl8xxxu_disabled_to_emu()
This function is generic to most of the chips, so change the name to reflect this. Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
This commit is contained in:
parent
a46b099ca7
commit
993dd9b425
drivers/net/wireless/realtek/rtl8xxxu
|
@ -1392,7 +1392,7 @@ void rtl8xxxu_prepare_calibrate(struct rtl8xxxu_priv *priv, u8 start);
|
|||
int rtl8xxxu_flush_fifo(struct rtl8xxxu_priv *priv);
|
||||
int rtl8723a_h2c_cmd(struct rtl8xxxu_priv *priv, struct h2c_cmd *h2c, int len);
|
||||
int rtl8xxxu_active_to_lps(struct rtl8xxxu_priv *priv);
|
||||
void rtl8723a_disabled_to_emu(struct rtl8xxxu_priv *priv);
|
||||
void rtl8xxxu_disabled_to_emu(struct rtl8xxxu_priv *priv);
|
||||
int rtl8xxxu_init_llt_table(struct rtl8xxxu_priv *priv, u8 last_tx_page);
|
||||
void rtl8xxxu_gen1_phy_iq_calibrate(struct rtl8xxxu_priv *priv);
|
||||
void rtl8xxxu_gen1_init_phy_bb(struct rtl8xxxu_priv *priv);
|
||||
|
|
|
@ -331,7 +331,7 @@ static int rtl8723au_power_on(struct rtl8xxxu_priv *priv)
|
|||
*/
|
||||
rtl8xxxu_write8(priv, REG_RSV_CTRL, 0x0);
|
||||
|
||||
rtl8723a_disabled_to_emu(priv);
|
||||
rtl8xxxu_disabled_to_emu(priv);
|
||||
|
||||
ret = rtl8723a_emu_to_active(priv);
|
||||
if (ret)
|
||||
|
|
|
@ -1406,7 +1406,7 @@ static int rtl8723bu_power_on(struct rtl8xxxu_priv *priv)
|
|||
u32 val32;
|
||||
int ret;
|
||||
|
||||
rtl8723a_disabled_to_emu(priv);
|
||||
rtl8xxxu_disabled_to_emu(priv);
|
||||
|
||||
ret = rtl8723b_emu_to_active(priv);
|
||||
if (ret)
|
||||
|
|
|
@ -3607,7 +3607,7 @@ int rtl8xxxu_active_to_lps(struct rtl8xxxu_priv *priv)
|
|||
return ret;
|
||||
}
|
||||
|
||||
void rtl8723a_disabled_to_emu(struct rtl8xxxu_priv *priv)
|
||||
void rtl8xxxu_disabled_to_emu(struct rtl8xxxu_priv *priv)
|
||||
{
|
||||
u8 val8;
|
||||
|
||||
|
|
Loading…
Reference in New Issue