pcmcia: remove use of __devexit
[firefly-linux-kernel-4.4.55.git] / drivers / pcmcia / pd6729.c
index 253e3867dec713e8d1b5df9167a8da2337cb7465..b29d97e170aee91d2f0030d8947683d0c280cab7 100644 (file)
@@ -589,7 +589,7 @@ static int pd6729_check_irq(int irq)
        return 0;
 }
 
-static u_int __devinit pd6729_isa_scan(void)
+static u_int pd6729_isa_scan(void)
 {
        u_int mask0, mask = 0;
        int i;
@@ -620,7 +620,7 @@ static u_int __devinit pd6729_isa_scan(void)
        return mask;
 }
 
-static int __devinit pd6729_pci_probe(struct pci_dev *dev,
+static int pd6729_pci_probe(struct pci_dev *dev,
                                      const struct pci_device_id *id)
 {
        int i, j, ret;
@@ -739,7 +739,7 @@ err_out_free_mem:
        return ret;
 }
 
-static void __devexit pd6729_pci_remove(struct pci_dev *dev)
+static void pd6729_pci_remove(struct pci_dev *dev)
 {
        int i;
        struct pd6729_socket *socket = pci_get_drvdata(dev);
@@ -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)