pcmcia: remove use of __devexit_p
authorBill Pemberton <wfp5p@virginia.edu>
Mon, 19 Nov 2012 18:20:38 +0000 (13:20 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 28 Nov 2012 20:10:16 +0000 (12:10 -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/pcmcia/bcm63xx_pcmcia.c
drivers/pcmcia/bfin_cf_pcmcia.c
drivers/pcmcia/db1xxx_ss.c
drivers/pcmcia/i82092.c
drivers/pcmcia/pd6729.c
drivers/pcmcia/rsrc_nonstatic.c
drivers/pcmcia/sa1111_generic.c
drivers/pcmcia/xxs1500_ss.c
drivers/pcmcia/yenta_socket.c

index c2e997a..57d1053 100644 (file)
@@ -453,7 +453,7 @@ static int __devexit bcm63xx_drv_pcmcia_remove(struct platform_device *pdev)
 
 struct platform_driver bcm63xx_pcmcia_driver = {
        .probe  = bcm63xx_drv_pcmcia_probe,
-       .remove = __devexit_p(bcm63xx_drv_pcmcia_remove),
+       .remove = bcm63xx_drv_pcmcia_remove,
        .driver = {
                .name   = "bcm63xx_pcmcia",
                .owner  = THIS_MODULE,
@@ -503,7 +503,7 @@ static struct pci_driver bcm63xx_cardbus_driver = {
        .name           = "bcm63xx_cardbus",
        .id_table       = bcm63xx_cb_table,
        .probe          = bcm63xx_cb_probe,
-       .remove         = __devexit_p(bcm63xx_cb_exit),
+       .remove         = bcm63xx_cb_exit,
 };
 #endif
 
index ac1a223..2f4bd27 100644 (file)
@@ -307,7 +307,7 @@ static struct platform_driver bfin_cf_driver = {
                   .owner = THIS_MODULE,
                   },
        .probe = bfin_cf_probe,
-       .remove = __devexit_p(bfin_cf_remove),
+       .remove = bfin_cf_remove,
 };
 
 module_platform_driver(bfin_cf_driver);
index a484b1f..bbbf6f6 100644 (file)
@@ -577,7 +577,7 @@ static struct platform_driver db1x_pcmcia_socket_driver = {
                .owner  = THIS_MODULE,
        },
        .probe          = db1x_pcmcia_socket_probe,
-       .remove         = __devexit_p(db1x_pcmcia_socket_remove),
+       .remove         = db1x_pcmcia_socket_remove,
 };
 
 module_platform_driver(db1x_pcmcia_socket_driver);
index 4e8831b..3f61100 100644 (file)
@@ -35,7 +35,7 @@ static struct pci_driver i82092aa_pci_driver = {
        .name           = "i82092aa",
        .id_table       = i82092aa_pci_ids,
        .probe          = i82092aa_pci_probe,
-       .remove         = __devexit_p(i82092aa_pci_remove),
+       .remove         = i82092aa_pci_remove,
 };
 
 
index 253e386..aa79c0c 100644 (file)
@@ -772,7 +772,7 @@ static struct pci_driver pd6729_pci_driver = {
        .name           = "pd6729",
        .id_table       = pd6729_pci_ids,
        .probe          = pd6729_pci_probe,
-       .remove         = __devexit_p(pd6729_pci_remove),
+       .remove         = pd6729_pci_remove,
 };
 
 static int pd6729_module_init(void)
index 9da9656..fcf4152 100644 (file)
@@ -1222,7 +1222,7 @@ static void __devexit pccard_sysfs_remove_rsrc(struct device *dev,
 static struct class_interface pccard_rsrc_interface __refdata = {
        .class = &pcmcia_socket_class,
        .add_dev = &pccard_sysfs_add_rsrc,
-       .remove_dev = __devexit_p(&pccard_sysfs_remove_rsrc),
+       .remove_dev = &pccard_sysfs_remove_rsrc,
 };
 
 static int __init nonstatic_sysfs_init(void)
index 70f728c..cb69f61 100644 (file)
@@ -234,7 +234,7 @@ static struct sa1111_driver pcmcia_driver = {
        },
        .devid          = SA1111_DEVID_PCMCIA,
        .probe          = pcmcia_probe,
-       .remove         = __devexit_p(pcmcia_remove),
+       .remove         = pcmcia_remove,
 };
 
 static int __init sa1111_drv_pcmcia_init(void)
index fd5fbd1..86fa3df 100644 (file)
@@ -317,7 +317,7 @@ static struct platform_driver xxs1500_pcmcia_socket_driver = {
                .owner  = THIS_MODULE,
        },
        .probe          = xxs1500_pcmcia_probe,
-       .remove         = __devexit_p(xxs1500_pcmcia_remove),
+       .remove         = xxs1500_pcmcia_remove,
 };
 
 module_platform_driver(xxs1500_pcmcia_socket_driver);
index 667678d..407f403 100644 (file)
@@ -1435,7 +1435,7 @@ static struct pci_driver yenta_cardbus_driver = {
        .name           = "yenta_cardbus",
        .id_table       = yenta_table,
        .probe          = yenta_probe,
-       .remove         = __devexit_p(yenta_close),
+       .remove         = yenta_close,
        .driver.pm      = YENTA_PM_OPS,
 };