Skip to content

Commit

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

Signed-off-by: Bill Pemberton <[email protected]>
Cc: "Michał Mirosław" <[email protected]>
Cc: Wolfram Sang <[email protected]>
Cc: Eric Piel <[email protected]>
Cc: Jiri Slaby <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
  • Loading branch information
wfp5p authored and gregkh committed Nov 21, 2012
1 parent 989623c commit 2d6bed9
Show file tree
Hide file tree
Showing 25 changed files with 25 additions and 25 deletions.
2 changes: 1 addition & 1 deletion drivers/misc/ad525x_dpot-i2c.c
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ static struct i2c_driver ad_dpot_i2c_driver = {
.owner = THIS_MODULE,
},
.probe = ad_dpot_i2c_probe,
.remove = __devexit_p(ad_dpot_i2c_remove),
.remove = ad_dpot_i2c_remove,
.id_table = ad_dpot_id,
};

Expand Down
2 changes: 1 addition & 1 deletion drivers/misc/ad525x_dpot-spi.c
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ static struct spi_driver ad_dpot_spi_driver = {
.owner = THIS_MODULE,
},
.probe = ad_dpot_spi_probe,
.remove = __devexit_p(ad_dpot_spi_remove),
.remove = ad_dpot_spi_remove,
.id_table = ad_dpot_spi_id,
};

Expand Down
2 changes: 1 addition & 1 deletion drivers/misc/apds9802als.c
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ static struct i2c_driver apds9802als_driver = {
.pm = APDS9802ALS_PM_OPS,
},
.probe = apds9802als_probe,
.remove = __devexit_p(apds9802als_remove),
.remove = apds9802als_remove,
.suspend = apds9802als_suspend,
.resume = apds9802als_resume,
.id_table = apds9802als_id,
Expand Down
2 changes: 1 addition & 1 deletion drivers/misc/apds990x.c
Original file line number Diff line number Diff line change
Expand Up @@ -1275,7 +1275,7 @@ static struct i2c_driver apds990x_driver = {
.pm = &apds990x_pm_ops,
},
.probe = apds990x_probe,
.remove = __devexit_p(apds990x_remove),
.remove = apds990x_remove,
.id_table = apds990x_id,
};

Expand Down
2 changes: 1 addition & 1 deletion drivers/misc/atmel-ssc.c
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ static int __devexit ssc_remove(struct platform_device *pdev)
}

static struct platform_driver ssc_driver = {
.remove = __devexit_p(ssc_remove),
.remove = ssc_remove,
.driver = {
.name = "ssc",
.owner = THIS_MODULE,
Expand Down
2 changes: 1 addition & 1 deletion drivers/misc/bh1770glc.c
Original file line number Diff line number Diff line change
Expand Up @@ -1395,7 +1395,7 @@ static struct i2c_driver bh1770_driver = {
.pm = &bh1770_pm_ops,
},
.probe = bh1770_probe,
.remove = __devexit_p(bh1770_remove),
.remove = bh1770_remove,
.id_table = bh1770_id,
};

Expand Down
2 changes: 1 addition & 1 deletion drivers/misc/bh1780gli.c
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ static const struct i2c_device_id bh1780_id[] = {

static struct i2c_driver bh1780_driver = {
.probe = bh1780_probe,
.remove = __devexit_p(bh1780_remove),
.remove = bh1780_remove,
.id_table = bh1780_id,
.driver = {
.name = "bh1780",
Expand Down
2 changes: 1 addition & 1 deletion drivers/misc/bmp085-i2c.c
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ static struct i2c_driver bmp085_i2c_driver = {
},
.id_table = bmp085_id,
.probe = bmp085_i2c_probe,
.remove = __devexit_p(bmp085_i2c_remove),
.remove = bmp085_i2c_remove,

.detect = bmp085_i2c_detect,
.address_list = normal_i2c
Expand Down
2 changes: 1 addition & 1 deletion drivers/misc/bmp085-spi.c
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ static struct spi_driver bmp085_spi_driver = {
},
.id_table = bmp085_id,
.probe = bmp085_spi_probe,
.remove = __devexit_p(bmp085_spi_remove)
.remove = bmp085_spi_remove
};

module_spi_driver(bmp085_spi_driver);
Expand Down
2 changes: 1 addition & 1 deletion drivers/misc/cb710/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ static struct pci_driver cb710_driver = {
.name = KBUILD_MODNAME,
.id_table = cb710_pci_tbl,
.probe = cb710_probe,
.remove = __devexit_p(cb710_remove_one),
.remove = cb710_remove_one,
#ifdef CONFIG_PM
.suspend = cb710_suspend,
.resume = cb710_resume,
Expand Down
2 changes: 1 addition & 1 deletion drivers/misc/eeprom/at24.c
Original file line number Diff line number Diff line change
Expand Up @@ -680,7 +680,7 @@ static struct i2c_driver at24_driver = {
.owner = THIS_MODULE,
},
.probe = at24_probe,
.remove = __devexit_p(at24_remove),
.remove = at24_remove,
.id_table = at24_ids,
};

Expand Down
2 changes: 1 addition & 1 deletion drivers/misc/eeprom/at25.c
Original file line number Diff line number Diff line change
Expand Up @@ -477,7 +477,7 @@ static struct spi_driver at25_driver = {
.owner = THIS_MODULE,
},
.probe = at25_probe,
.remove = __devexit_p(at25_remove),
.remove = at25_remove,
};

module_spi_driver(at25_driver);
Expand Down
2 changes: 1 addition & 1 deletion drivers/misc/eeprom/eeprom_93xx46.c
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,7 @@ static struct spi_driver eeprom_93xx46_driver = {
.owner = THIS_MODULE,
},
.probe = eeprom_93xx46_probe,
.remove = __devexit_p(eeprom_93xx46_remove),
.remove = eeprom_93xx46_remove,
};

module_spi_driver(eeprom_93xx46_driver);
Expand Down
2 changes: 1 addition & 1 deletion drivers/misc/fsa9480.c
Original file line number Diff line number Diff line change
Expand Up @@ -533,7 +533,7 @@ static struct i2c_driver fsa9480_i2c_driver = {
.name = "fsa9480",
},
.probe = fsa9480_probe,
.remove = __devexit_p(fsa9480_remove),
.remove = fsa9480_remove,
.resume = fsa9480_resume,
.suspend = fsa9480_suspend,
.id_table = fsa9480_id,
Expand Down
2 changes: 1 addition & 1 deletion drivers/misc/hpilo.c
Original file line number Diff line number Diff line change
Expand Up @@ -859,7 +859,7 @@ static struct pci_driver ilo_driver = {
.name = ILO_NAME,
.id_table = ilo_devices,
.probe = ilo_probe,
.remove = __devexit_p(ilo_remove),
.remove = ilo_remove,
};

static int __init ilo_init(void)
Expand Down
2 changes: 1 addition & 1 deletion drivers/misc/ibmasm/module.c
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ static struct pci_driver ibmasm_driver = {
.name = DRIVER_NAME,
.id_table = ibmasm_pci_table,
.probe = ibmasm_init_one,
.remove = __devexit_p(ibmasm_remove_one),
.remove = ibmasm_remove_one,
};

static void __exit ibmasm_exit (void)
Expand Down
2 changes: 1 addition & 1 deletion drivers/misc/ioc4.c
Original file line number Diff line number Diff line change
Expand Up @@ -466,7 +466,7 @@ static struct pci_driver ioc4_driver = {
.name = "IOC4",
.id_table = ioc4_id_table,
.probe = ioc4_probe,
.remove = __devexit_p(ioc4_remove),
.remove = ioc4_remove,
};

MODULE_DEVICE_TABLE(pci, ioc4_id_table);
Expand Down
2 changes: 1 addition & 1 deletion drivers/misc/isl29003.c
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,7 @@ static struct i2c_driver isl29003_driver = {
.suspend = isl29003_suspend,
.resume = isl29003_resume,
.probe = isl29003_probe,
.remove = __devexit_p(isl29003_remove),
.remove = isl29003_remove,
.id_table = isl29003_id,
};

Expand Down
2 changes: 1 addition & 1 deletion drivers/misc/lis3lv02d/lis3lv02d_i2c.c
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ static struct i2c_driver lis3lv02d_i2c_driver = {
.of_match_table = of_match_ptr(lis3lv02d_i2c_dt_ids),
},
.probe = lis3lv02d_i2c_probe,
.remove = __devexit_p(lis3lv02d_i2c_remove),
.remove = lis3lv02d_i2c_remove,
.id_table = lis3lv02d_id,
};

Expand Down
2 changes: 1 addition & 1 deletion drivers/misc/lis3lv02d/lis3lv02d_spi.c
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ static struct spi_driver lis302dl_spi_driver = {
.of_match_table = of_match_ptr(lis302dl_spi_dt_ids),
},
.probe = lis302dl_spi_probe,
.remove = __devexit_p(lis302dl_spi_remove),
.remove = lis302dl_spi_remove,
};

module_spi_driver(lis302dl_spi_driver);
Expand Down
2 changes: 1 addition & 1 deletion drivers/misc/pch_phub.c
Original file line number Diff line number Diff line change
Expand Up @@ -888,7 +888,7 @@ static struct pci_driver pch_phub_driver = {
.name = "pch_phub",
.id_table = pch_phub_pcidev_id,
.probe = pch_phub_probe,
.remove = __devexit_p(pch_phub_remove),
.remove = pch_phub_remove,
.suspend = pch_phub_suspend,
.resume = pch_phub_resume
};
Expand Down
2 changes: 1 addition & 1 deletion drivers/misc/phantom.c
Original file line number Diff line number Diff line change
Expand Up @@ -499,7 +499,7 @@ static struct pci_driver phantom_pci_driver = {
.name = "phantom",
.id_table = phantom_pci_tbl,
.probe = phantom_probe,
.remove = __devexit_p(phantom_remove),
.remove = phantom_remove,
.suspend = phantom_suspend,
.resume = phantom_resume
};
Expand Down
2 changes: 1 addition & 1 deletion drivers/misc/pti.c
Original file line number Diff line number Diff line change
Expand Up @@ -901,7 +901,7 @@ static struct pci_driver pti_pci_driver = {
.name = PCINAME,
.id_table = pci_ids,
.probe = pti_pci_probe,
.remove = __devexit_p(pti_pci_remove),
.remove = pti_pci_remove,
};

/**
Expand Down
2 changes: 1 addition & 1 deletion drivers/misc/ti_dac7512.c
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ static struct spi_driver dac7512_driver = {
.owner = THIS_MODULE,
},
.probe = dac7512_probe,
.remove = __devexit_p(dac7512_remove),
.remove = dac7512_remove,
};

module_spi_driver(dac7512_driver);
Expand Down
2 changes: 1 addition & 1 deletion drivers/misc/tsl2550.c
Original file line number Diff line number Diff line change
Expand Up @@ -450,7 +450,7 @@ static struct i2c_driver tsl2550_driver = {
.suspend = tsl2550_suspend,
.resume = tsl2550_resume,
.probe = tsl2550_probe,
.remove = __devexit_p(tsl2550_remove),
.remove = tsl2550_remove,
.id_table = tsl2550_id,
};

Expand Down

0 comments on commit 2d6bed9

Please sign in to comment.