]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
staging: rtl8192e: Rename rtl8192E_suspend
authorMateusz Kulikowski <mateusz.kulikowski@gmail.com>
Sun, 19 Jul 2015 17:28:42 +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_suspend to rtl92e_suspend.

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 1e3d646c0f392c684f8186ab9857b155330ce0b7..c1af8adda20c450e0cf6bebb3cdcc0ff02b6b24d 100644 (file)
@@ -83,7 +83,7 @@ static struct pci_driver rtl8192_pci_driver = {
        .id_table = rtl8192_pci_id_tbl, /* PCI_ID table  */
        .probe  = rtl8192_pci_probe,    /* probe fn      */
        .remove  = rtl8192_pci_disconnect,      /* remove fn */
-       .suspend = rtl8192E_suspend,    /* PM suspend fn */
+       .suspend = rtl92e_suspend,      /* PM suspend fn */
        .resume = rtl92e_resume,                 /* PM resume fn  */
 };
 
index 52b3617a4b027afa2dfd04603e5aefaeffe0faf6..c224adedaf6288f614234be82f844f52e8c3ea4c 100644 (file)
@@ -23,7 +23,7 @@
 #include "rtl_pm.h"
 
 
-int rtl8192E_suspend(struct pci_dev *pdev, pm_message_t state)
+int rtl92e_suspend(struct pci_dev *pdev, pm_message_t state)
 {
        struct net_device *dev = pci_get_drvdata(pdev);
        struct r8192_priv *priv = rtllib_priv(dev);
index 90ca080c07fd4ca1dcb3e9aa07296b77c3242899..cdc45f7fb33934a2d419c86e25af73bd8f48c1be 100644 (file)
@@ -23,7 +23,7 @@
 #include <linux/types.h>
 #include <linux/pci.h>
 
-int rtl8192E_suspend(struct pci_dev *dev, pm_message_t state);
+int rtl92e_suspend(struct pci_dev *dev, pm_message_t state);
 int rtl92e_resume(struct pci_dev *dev);
 
 #endif