pcmcia: remove use of __devexit_p
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>
This commit is contained in:
Родитель
13ee2b943c
Коммит
96364e3a5c
|
@ -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
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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,
|
||||
};
|
||||
|
||||
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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,
|
||||
};
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче