Input: remove use of __devexit
CONFIG_HOTPLUG is going away as an option so __devexit is no longer needed. Signed-off-by: Bill Pemberton <wfp5p@virginia.edu> Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
This commit is contained in:
committed by
Dmitry Torokhov
parent
5298cc4cc7
commit
e2619cf78e
@@ -159,7 +159,7 @@ static int altera_ps2_probe(struct platform_device *pdev)
|
||||
/*
|
||||
* Remove one device from this driver.
|
||||
*/
|
||||
static int __devexit altera_ps2_remove(struct platform_device *pdev)
|
||||
static int altera_ps2_remove(struct platform_device *pdev)
|
||||
{
|
||||
struct ps2if *ps2if = platform_get_drvdata(pdev);
|
||||
|
||||
|
||||
@@ -163,7 +163,7 @@ static int amba_kmi_probe(struct amba_device *dev,
|
||||
return ret;
|
||||
}
|
||||
|
||||
static int __devexit amba_kmi_remove(struct amba_device *dev)
|
||||
static int amba_kmi_remove(struct amba_device *dev)
|
||||
{
|
||||
struct amba_kmi_port *kmi = amba_get_drvdata(dev);
|
||||
|
||||
|
||||
@@ -242,7 +242,7 @@ static int arc_ps2_probe(struct platform_device *pdev)
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int __devexit arc_ps2_remove(struct platform_device *pdev)
|
||||
static int arc_ps2_remove(struct platform_device *pdev)
|
||||
{
|
||||
struct arc_ps2_data *arc_ps2 = platform_get_drvdata(pdev);
|
||||
int i;
|
||||
|
||||
@@ -199,7 +199,7 @@ static int ct82c710_probe(struct platform_device *dev)
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int __devexit ct82c710_remove(struct platform_device *dev)
|
||||
static int ct82c710_remove(struct platform_device *dev)
|
||||
{
|
||||
serio_unregister_port(ct82c710_port);
|
||||
|
||||
|
||||
@@ -414,7 +414,7 @@ fail_nomem:
|
||||
* @return: success/error report
|
||||
*/
|
||||
|
||||
static int __devexit gscps2_remove(struct parisc_device *dev)
|
||||
static int gscps2_remove(struct parisc_device *dev)
|
||||
{
|
||||
struct gscps2port *ps2port = dev_get_drvdata(&dev->dev);
|
||||
|
||||
|
||||
@@ -80,7 +80,7 @@ static int sparc_i8042_probe(struct platform_device *op)
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int __devexit sparc_i8042_remove(struct platform_device *op)
|
||||
static int sparc_i8042_remove(struct platform_device *op)
|
||||
{
|
||||
of_iounmap(kbd_res, kbd_iobase, 8);
|
||||
|
||||
|
||||
@@ -1284,7 +1284,7 @@ static void __init i8042_register_ports(void)
|
||||
}
|
||||
}
|
||||
|
||||
static void __devexit i8042_unregister_ports(void)
|
||||
static void i8042_unregister_ports(void)
|
||||
{
|
||||
int i;
|
||||
|
||||
@@ -1437,7 +1437,7 @@ static int __init i8042_probe(struct platform_device *dev)
|
||||
return error;
|
||||
}
|
||||
|
||||
static int __devexit i8042_remove(struct platform_device *dev)
|
||||
static int i8042_remove(struct platform_device *dev)
|
||||
{
|
||||
i8042_unregister_ports();
|
||||
i8042_free_irqs();
|
||||
|
||||
@@ -151,7 +151,7 @@ static int maceps2_probe(struct platform_device *dev)
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int __devexit maceps2_remove(struct platform_device *dev)
|
||||
static int maceps2_remove(struct platform_device *dev)
|
||||
{
|
||||
serio_unregister_port(maceps2_port[0]);
|
||||
serio_unregister_port(maceps2_port[1]);
|
||||
|
||||
@@ -176,7 +176,7 @@ static int pcips2_probe(struct pci_dev *dev, const struct pci_device_id *id)
|
||||
return ret;
|
||||
}
|
||||
|
||||
static void __devexit pcips2_remove(struct pci_dev *dev)
|
||||
static void pcips2_remove(struct pci_dev *dev)
|
||||
{
|
||||
struct pcips2_data *ps2if = pci_get_drvdata(dev);
|
||||
|
||||
|
||||
@@ -168,7 +168,7 @@ err_free_mem:
|
||||
return error;
|
||||
}
|
||||
|
||||
static int __devexit q40kbd_remove(struct platform_device *pdev)
|
||||
static int q40kbd_remove(struct platform_device *pdev)
|
||||
{
|
||||
struct q40kbd *q40kbd = platform_get_drvdata(pdev);
|
||||
|
||||
|
||||
@@ -153,7 +153,7 @@ static int rpckbd_probe(struct platform_device *dev)
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int __devexit rpckbd_remove(struct platform_device *dev)
|
||||
static int rpckbd_remove(struct platform_device *dev)
|
||||
{
|
||||
struct serio *serio = platform_get_drvdata(dev);
|
||||
struct rpckbd_data *rpckbd = serio->port_data;
|
||||
|
||||
@@ -334,7 +334,7 @@ static int ps2_probe(struct sa1111_dev *dev)
|
||||
/*
|
||||
* Remove one device from this driver.
|
||||
*/
|
||||
static int __devexit ps2_remove(struct sa1111_dev *dev)
|
||||
static int ps2_remove(struct sa1111_dev *dev)
|
||||
{
|
||||
struct ps2if *ps2if = sa1111_get_drvdata(dev);
|
||||
|
||||
|
||||
@@ -333,7 +333,7 @@ failed1:
|
||||
* if the driver module is being unloaded. It frees any resources allocated to
|
||||
* the device.
|
||||
*/
|
||||
static int __devexit xps2_of_remove(struct platform_device *of_dev)
|
||||
static int xps2_of_remove(struct platform_device *of_dev)
|
||||
{
|
||||
struct xps2data *drvdata = platform_get_drvdata(of_dev);
|
||||
struct resource r_mem; /* IO mem resources */
|
||||
|
||||
Reference in New Issue
Block a user