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

This also changes the syntax for the initialization of the wl_driver
struct to match convention.

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

index a09c3ac793a25f741eaa7421aa0619e30c6a9326..687b29895d4545ca84f09f5e3356572accc068ec 100644 (file)
@@ -160,14 +160,13 @@ void wl_pci_dma_hcf_reclaim_rx( struct wl_private *lp );
 /*******************************************************************************
  * PCI module function registration
  ******************************************************************************/
-static struct pci_driver wl_driver =
-{
-       name:           MODULE_NAME,
-    id_table:  wl_pci_tbl,
-       probe:          wl_pci_probe,
-       remove:         __devexit_p(wl_pci_remove),
-    suspend:    NULL,
-    resume:     NULL,
+static struct pci_driver wl_driver = {
+       .name     = MODULE_NAME,
+       .id_table = wl_pci_tbl,
+       .probe    = wl_pci_probe,
+       .remove   = wl_pci_remove,
+       .suspend  = NULL,
+       .resume   = NULL
 };
 
 /*******************************************************************************