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

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
drivers/staging/rtl8192e/rtl8192e/rtl_pm.c
drivers/staging/rtl8192e/rtl8192e/rtl_pm.h

index 06f8d84..1e3d646 100644 (file)
@@ -84,7 +84,7 @@ static struct pci_driver rtl8192_pci_driver = {
        .probe  = rtl8192_pci_probe,    /* probe fn      */
        .remove  = rtl8192_pci_disconnect,      /* remove fn */
        .suspend = rtl8192E_suspend,    /* PM suspend fn */
-       .resume = rtl8192E_resume,                 /* PM resume fn  */
+       .resume = rtl92e_resume,                 /* PM resume fn  */
 };
 
 static short rtl8192_is_tx_queue_empty(struct net_device *dev);
index d4d489c..52b3617 100644 (file)
@@ -70,7 +70,7 @@ out_pci_suspend:
        return 0;
 }
 
-int rtl8192E_resume(struct pci_dev *pdev)
+int rtl92e_resume(struct pci_dev *pdev)
 {
        struct net_device *dev = pci_get_drvdata(pdev);
        struct r8192_priv *priv = rtllib_priv(dev);
index 7bfe448..90ca080 100644 (file)
@@ -24,6 +24,6 @@
 #include <linux/pci.h>
 
 int rtl8192E_suspend(struct pci_dev *dev, pm_message_t state);
-int rtl8192E_resume(struct pci_dev *dev);
+int rtl92e_resume(struct pci_dev *dev);
 
 #endif