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

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

index 52e1e27cb7b0d83a6ef69f2bfbb06af03ce7933b..63bb467f6581eb4e07bd151b4f76735e8258eb0b 100644 (file)
@@ -1063,7 +1063,7 @@ static short rtl8192_get_channel_map(struct net_device *dev)
        return 0;
 }
 
-static short rtl8192_init(struct net_device *dev)
+static short _rtl92e_init(struct net_device *dev)
 {
        struct r8192_priv *priv = rtllib_priv(dev);
 
@@ -2663,7 +2663,7 @@ static int rtl8192_pci_probe(struct pci_dev *pdev,
        }
 
        RT_TRACE(COMP_INIT, "Driver probe completed1\n");
-       if (rtl8192_init(dev) != 0) {
+       if (_rtl92e_init(dev) != 0) {
                netdev_warn(dev, "Initialization failed");
                goto err_free_irq;
        }