]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
staging: rtl8192e: Rename rtl8192e_SetHwReg
authorMateusz Kulikowski <mateusz.kulikowski@gmail.com>
Sun, 19 Jul 2015 17:27:26 +0000 (19:27 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 23 Jul 2015 04:24:11 +0000 (21:24 -0700)
Use naming schema found in other rtlwifi devices.
Rename rtl8192e_SetHwReg to rtl92e_set_reg.

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 c779ee781a2715da5d51c01cc89362cb6b93ed30..95e7b28e89290ec7c4f5776130de7ef3303e345b 100644 (file)
@@ -95,7 +95,7 @@ static void rtl8192e_update_msr(struct net_device *dev)
                priv->rtllib->LedControlHandler(dev, LedAction);
 }
 
-void rtl8192e_SetHwReg(struct net_device *dev, u8 variable, u8 *val)
+void rtl92e_set_reg(struct net_device *dev, u8 variable, u8 *val)
 {
        struct r8192_priv *priv = rtllib_priv(dev);
 
index 75f500a8633e1f98638d17b24dd44eae2a2e93b5..436d9d7d50ffb640587a8ffa9d333e79379cbd6b 100644 (file)
@@ -40,7 +40,7 @@ void rtl92e_disable_irq(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);
+void rtl92e_set_reg(struct net_device *dev, u8 variable, u8 *val);
 void rtl8192_get_eeprom_size(struct net_device *dev);
 bool rtl92e_start_adapter(struct net_device *dev);
 void rtl8192_link_change(struct net_device *dev);
index eb0be6d64ca311a8ede28a9b21bfdb3b3feba76b..83b0cea26f251aa926b2725b75fb349a08e81fbd 100644 (file)
@@ -890,7 +890,7 @@ static void rtl8192_init_priv_handler(struct net_device *dev)
        priv->rtllib->GetHalfNmodeSupportByAPsHandler =
                                         rtl8192_GetHalfNmodeSupportByAPs;
 
-       priv->rtllib->SetHwRegHandler = rtl8192e_SetHwReg;
+       priv->rtllib->SetHwRegHandler = rtl92e_set_reg;
        priv->rtllib->AllowAllDestAddrHandler = rtl92e_set_monitor_mode;
        priv->rtllib->SetFwCmdHandler = NULL;
        priv->rtllib->InitialGainHandler = InitialGain819xPci;