staging: rtl8192e: remove use of __devexit_p
authorBill Pemberton <wfp5p@virginia.edu>
Mon, 19 Nov 2012 18:20:58 +0000 (13:20 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 21 Nov 2012 22:07:42 +0000 (14:07 -0800)
CONFIG_HOTPLUG is going away as an option so __devexit_p is no longer
needed.

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192e/rtl8192e/rtl_core.c

index f68df241f78e34059dd014162ab110449723a0fa..3d636c3457403df350a7ad429a64a40c308b693d 100644 (file)
@@ -99,7 +99,7 @@ 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  = __devexit_p(rtl8192_pci_disconnect), /* remove fn */
+       .remove  = rtl8192_pci_disconnect,      /* remove fn */
        .suspend = rtl8192E_suspend,    /* PM suspend fn */
        .resume = rtl8192E_resume,                 /* PM resume fn  */
 };