]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging: rtl8192e: Rename rtl8192_pci_disconnect
authorMateusz Kulikowski <mateusz.kulikowski@gmail.com>
Sun, 20 Sep 2015 08:12:55 +0000 (10:12 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 29 Sep 2015 01:33:39 +0000 (03:33 +0200)
Use naming schema found in other rtlwifi devices.
Rename rtl8192_pci_disconnect to _rtl92e_pci_disconnect.

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 14a3434782273ed4df653ffdb20836b3b2902884..e9f0e83e7f336f49c65c80e14095f593881b8dc3 100644 (file)
@@ -75,14 +75,14 @@ MODULE_DEVICE_TABLE(pci, rtl8192_pci_id_tbl);
 
 static int rtl8192_pci_probe(struct pci_dev *pdev,
                        const struct pci_device_id *id);
-static void rtl8192_pci_disconnect(struct pci_dev *pdev);
+static void _rtl92e_pci_disconnect(struct pci_dev *pdev);
 static irqreturn_t _rtl92e_irq(int irq, void *netdev);
 
 static struct pci_driver rtl8192_pci_driver = {
        .name = DRV_NAME,       /* Driver name   */
        .id_table = rtl8192_pci_id_tbl, /* PCI_ID table  */
        .probe  = rtl8192_pci_probe,    /* probe fn      */
-       .remove  = rtl8192_pci_disconnect,      /* remove fn */
+       .remove  = _rtl92e_pci_disconnect,      /* remove fn */
        .suspend = rtl92e_suspend,      /* PM suspend fn */
        .resume = rtl92e_resume,                 /* PM resume fn  */
 };
@@ -2694,7 +2694,7 @@ err_pci_disable:
        return err;
 }
 
-static void rtl8192_pci_disconnect(struct pci_dev *pdev)
+static void _rtl92e_pci_disconnect(struct pci_dev *pdev)
 {
        struct net_device *dev = pci_get_drvdata(pdev);
        struct r8192_priv *priv;