Skip to content

Commit

Permalink
pcmcia: remove use of __devexit
Browse files Browse the repository at this point in the history
CONFIG_HOTPLUG is going away as an option so __devexit is no
longer needed.

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
wfp5p authored and gregkh committed Nov 28, 2012
1 parent 21fb767 commit e765a02
Show file tree
Hide file tree
Showing 12 changed files with 13 additions and 13 deletions.
4 changes: 2 additions & 2 deletions drivers/pcmcia/bcm63xx_pcmcia.c
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,7 @@ static int bcm63xx_drv_pcmcia_probe(struct platform_device *pdev)
return ret;
}

static int __devexit bcm63xx_drv_pcmcia_remove(struct platform_device *pdev)
static int bcm63xx_drv_pcmcia_remove(struct platform_device *pdev)
{
struct bcm63xx_pcmcia_socket *skt;
struct resource *res;
Expand Down Expand Up @@ -469,7 +469,7 @@ static int bcm63xx_cb_probe(struct pci_dev *dev,
return platform_driver_register(&bcm63xx_pcmcia_driver);
}

static void __devexit bcm63xx_cb_exit(struct pci_dev *dev)
static void bcm63xx_cb_exit(struct pci_dev *dev)
{
platform_driver_unregister(&bcm63xx_pcmcia_driver);
bcm63xx_cb_dev = NULL;
Expand Down
2 changes: 1 addition & 1 deletion drivers/pcmcia/bfin_cf_pcmcia.c
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ static int bfin_cf_probe(struct platform_device *pdev)
return status;
}

static int __devexit bfin_cf_remove(struct platform_device *pdev)
static int bfin_cf_remove(struct platform_device *pdev)
{
struct bfin_cf_socket *cf = platform_get_drvdata(pdev);

Expand Down
2 changes: 1 addition & 1 deletion drivers/pcmcia/db1xxx_ss.c
Original file line number Diff line number Diff line change
Expand Up @@ -559,7 +559,7 @@ static int db1x_pcmcia_socket_probe(struct platform_device *pdev)
return ret;
}

static int __devexit db1x_pcmcia_socket_remove(struct platform_device *pdev)
static int db1x_pcmcia_socket_remove(struct platform_device *pdev)
{
struct db1x_pcmcia_sock *sock = platform_get_drvdata(pdev);

Expand Down
2 changes: 1 addition & 1 deletion drivers/pcmcia/electra_cf.c
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ static int electra_cf_probe(struct platform_device *ofdev)

}

static int __devexit electra_cf_remove(struct platform_device *ofdev)
static int electra_cf_remove(struct platform_device *ofdev)
{
struct device *device = &ofdev->dev;
struct electra_cf_socket *cf;
Expand Down
2 changes: 1 addition & 1 deletion drivers/pcmcia/i82092.c
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ static int i82092aa_pci_probe(struct pci_dev *dev, const struct pci_device_id *i
return ret;
}

static void __devexit i82092aa_pci_remove(struct pci_dev *dev)
static void i82092aa_pci_remove(struct pci_dev *dev)
{
struct pcmcia_socket *socket = pci_get_drvdata(dev);

Expand Down
2 changes: 1 addition & 1 deletion drivers/pcmcia/pd6729.c
Original file line number Diff line number Diff line change
Expand Up @@ -739,7 +739,7 @@ static int pd6729_pci_probe(struct pci_dev *dev,
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);
Expand Down
2 changes: 1 addition & 1 deletion drivers/pcmcia/rsrc_nonstatic.c
Original file line number Diff line number Diff line change
Expand Up @@ -1209,7 +1209,7 @@ static int pccard_sysfs_add_rsrc(struct device *dev,
return sysfs_create_group(&dev->kobj, &rsrc_attributes);
}

static void __devexit pccard_sysfs_remove_rsrc(struct device *dev,
static void pccard_sysfs_remove_rsrc(struct device *dev,
struct class_interface *class_intf)
{
struct pcmcia_socket *s = dev_get_drvdata(dev);
Expand Down
2 changes: 1 addition & 1 deletion drivers/pcmcia/sa1111_generic.c
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ static int pcmcia_probe(struct sa1111_dev *dev)
return 0;
}

static int __devexit pcmcia_remove(struct sa1111_dev *dev)
static int pcmcia_remove(struct sa1111_dev *dev)
{
struct sa1111_pcmcia_socket *next, *s = dev_get_drvdata(&dev->dev);

Expand Down
2 changes: 1 addition & 1 deletion drivers/pcmcia/vrc4171_card.c
Original file line number Diff line number Diff line change
Expand Up @@ -746,7 +746,7 @@ static int vrc4171_card_init(void)
return 0;
}

static void __devexit vrc4171_card_exit(void)
static void vrc4171_card_exit(void)
{
free_irq(vrc4171_irq, vrc4171_sockets);
vrc4171_remove_sockets();
Expand Down
2 changes: 1 addition & 1 deletion drivers/pcmcia/vrc4173_cardu.c
Original file line number Diff line number Diff line change
Expand Up @@ -581,7 +581,7 @@ static int vrc4173_cardu_init(void)
return pci_register_driver(&vrc4173_cardu_driver);
}

static void __devexit vrc4173_cardu_exit(void)
static void vrc4173_cardu_exit(void)
{
pci_unregister_driver(&vrc4173_cardu_driver);
}
Expand Down
2 changes: 1 addition & 1 deletion drivers/pcmcia/xxs1500_ss.c
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ static int xxs1500_pcmcia_probe(struct platform_device *pdev)
return ret;
}

static int __devexit xxs1500_pcmcia_remove(struct platform_device *pdev)
static int xxs1500_pcmcia_remove(struct platform_device *pdev)
{
struct xxs1500_pcmcia_sock *sock = platform_get_drvdata(pdev);

Expand Down
2 changes: 1 addition & 1 deletion drivers/pcmcia/yenta_socket.c
Original file line number Diff line number Diff line change
Expand Up @@ -783,7 +783,7 @@ static void yenta_free_resources(struct yenta_socket *socket)
/*
* Close it down - release our resources and go home..
*/
static void __devexit yenta_close(struct pci_dev *dev)
static void yenta_close(struct pci_dev *dev)
{
struct yenta_socket *sock = pci_get_drvdata(dev);

Expand Down

0 comments on commit e765a02

Please sign in to comment.