rtl8xxxu: Rename rtl8723a_disabled_to_emu() to rtl8xxxu_disabled_to_emu()
authorJes Sorensen <Jes.Sorensen@redhat.com>
Thu, 28 Apr 2016 19:19:12 +0000 (15:19 -0400)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 3 May 2016 10:07:21 +0000 (13:07 +0300)
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>
drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu.h
drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723a.c
drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723b.c
drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c

index d532933d03c0960e1ce6c4986e34d8c0f5f6e05e..f773c0e4141223a78c391ba9e9185a58f04227b0 100644 (file)
@@ -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);
index b464e2242eaa9bf256be70f97bf6f1dfad18947f..7c347ba21199efa2b726312c14bb96caad68861d 100644 (file)
@@ -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)
index 7d06dcaf3470d8f3ef940d1d3cc870fa60c27b93..a711cb8ee293da2eb63ebbd5019733c5d2d493de 100644 (file)
@@ -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)
index 9b12aed475b64dcc46fbde72ef69f1507dff6ffd..d71a0c6daa20ade753923485c44124d2c58bfc21 100644 (file)
@@ -3607,7 +3607,7 @@ exit:
        return ret;
 }
 
-void rtl8723a_disabled_to_emu(struct rtl8xxxu_priv *priv)
+void rtl8xxxu_disabled_to_emu(struct rtl8xxxu_priv *priv)
 {
        u8 val8;