staging: rtl8192e: Rename rtl8192_ClearInterrupt
authorMateusz Kulikowski <mateusz.kulikowski@gmail.com>
Sun, 19 Jul 2015 17:27:21 +0000 (19:27 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 23 Jul 2015 04:24:10 +0000 (21:24 -0700)
Use naming schema found in other rtlwifi devices.
Rename rtl8192_ClearInterrupt to rtl92e_clear_irq.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192e/rtl8192e/r8192E_dev.c
drivers/staging/rtl8192e/rtl8192e/r8192E_dev.h
drivers/staging/rtl8192e/rtl8192e/rtl_core.c

index 008782ec5447608804cf376a6ed78ea052fbafce..0a60b0718ec23d24125cd553300b0d534ba6d4cc 100644 (file)
@@ -2246,7 +2246,7 @@ void rtl8192_DisableInterrupt(struct net_device *dev)
        priv->irq_enabled = 0;
 }
 
-void rtl8192_ClearInterrupt(struct net_device *dev)
+void rtl92e_clear_irq(struct net_device *dev)
 {
        u32 tmp = 0;
 
index 262f3b233a48f5b88823e1a7dcf8adec7758e6e2..ed38b57116567699277cbfe69bb40818eeddb4e1 100644 (file)
@@ -37,7 +37,7 @@ void rtl8192_enable_rx(struct net_device *dev);
 void rtl8192_enable_tx(struct net_device *dev);
 void rtl8192_EnableInterrupt(struct net_device *dev);
 void rtl8192_DisableInterrupt(struct net_device *dev);
-void rtl8192_ClearInterrupt(struct net_device *dev);
+void rtl92e_clear_irq(struct net_device *dev);
 void rtl8192_InitializeVariables(struct net_device  *dev);
 void rtl8192e_start_beacon(struct net_device *dev);
 void rtl8192e_SetHwReg(struct net_device *dev, u8 variable, u8 *val);
index 2ec43b5031243db3e04c803214386dacfd59c161..708f7331de345b564a1ad34d310bda5e3aeedb0e 100644 (file)
@@ -56,7 +56,7 @@ static struct rtl819x_ops rtl819xp_ops = {
        .update_ratr_table              = rtl8192_update_ratr_table,
        .irq_enable                     = rtl8192_EnableInterrupt,
        .irq_disable                    = rtl8192_DisableInterrupt,
-       .irq_clear                      = rtl8192_ClearInterrupt,
+       .irq_clear                      = rtl92e_clear_irq,
        .rx_enable                      = rtl8192_enable_rx,
        .tx_enable                      = rtl8192_enable_tx,
        .interrupt_recognized           = rtl8192_interrupt_recognized,