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 06f8d84f9112136e64b47600a1d067de699ed10f..1e3d646c0f392c684f8186ab9857b155330ce0b7 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 d4d489c35e9369e1d5c21e93157103772dfad01f..52b3617a4b027afa2dfd04603e5aefaeffe0faf6 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 7bfe44817f230d8e1d0f721538d88b1ce4cfc9da..90ca080c07fd4ca1dcb3e9aa07296b77c3242899 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