staging: rtl8192e: Rename rtl8192_read_eeprom_info
authorMateusz Kulikowski <mateusz.kulikowski@gmail.com>
Sun, 20 Sep 2015 08:13:57 +0000 (10:13 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 29 Sep 2015 01:33:51 +0000 (03:33 +0200)
Use naming schema found in other rtlwifi devices.
Rename rtl8192_read_eeprom_info to _rtl92e_read_eeprom_info.

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

index e4c3e29bf93be4b3f9f705cf030e5d5d4246dc6e..ff0f99b0874dfcfe933270d6675a0ce8441bfdea 100644 (file)
@@ -309,7 +309,7 @@ void rtl92e_set_reg(struct net_device *dev, u8 variable, u8 *val)
 
 }
 
-static void rtl8192_read_eeprom_info(struct net_device *dev)
+static void _rtl92e_read_eeprom_info(struct net_device *dev)
 {
        struct r8192_priv *priv = rtllib_priv(dev);
        const u8 bMac_Tmp_Addr[ETH_ALEN] = {0x00, 0xe0, 0x4c, 0x00, 0x00, 0x01};
@@ -318,7 +318,7 @@ static void rtl8192_read_eeprom_info(struct net_device *dev)
        u16 i, usValue, IC_Version;
        u16 EEPROMId;
 
-       RT_TRACE(COMP_INIT, "====> rtl8192_read_eeprom_info\n");
+       RT_TRACE(COMP_INIT, "====> _rtl92e_read_eeprom_info\n");
 
        EEPROMId = rtl92e_eeprom_read(dev, 0);
        if (EEPROMId != RTL8190_EEPROM_ID) {
@@ -637,7 +637,7 @@ void rtl92e_get_eeprom_size(struct net_device *dev)
                          EEPROM_93C46;
        RT_TRACE(COMP_INIT, "<===========%s(), epromtype:%d\n", __func__,
                 priv->epromtype);
-       rtl8192_read_eeprom_info(dev);
+       _rtl92e_read_eeprom_info(dev);
 }
 
 static void _rtl92e_hwconfig(struct net_device *dev)