aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Pemberton <wfp5p@virginia.edu>2012-11-19 13:21:23 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-11-21 15:49:50 -0500
commit2d6bed9ca93e98685bc5038d686984fd449cd978 (patch)
tree8891b65ede778319ebb28c2aa40162a61994d852
parent989623c7d687d3996d5676a6e1474dc7f01bf158 (diff)
drivers/misc: 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> Cc: "Michał Mirosław" <mirq-linux@rere.qmqm.pl> Cc: Wolfram Sang <w.sang@pengutronix.de> Cc: Eric Piel <eric.piel@tremplin-utc.net> Cc: Jiri Slaby <jirislaby@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/misc/ad525x_dpot-i2c.c2
-rw-r--r--drivers/misc/ad525x_dpot-spi.c2
-rw-r--r--drivers/misc/apds9802als.c2
-rw-r--r--drivers/misc/apds990x.c2
-rw-r--r--drivers/misc/atmel-ssc.c2
-rw-r--r--drivers/misc/bh1770glc.c2
-rw-r--r--drivers/misc/bh1780gli.c2
-rw-r--r--drivers/misc/bmp085-i2c.c2
-rw-r--r--drivers/misc/bmp085-spi.c2
-rw-r--r--drivers/misc/cb710/core.c2
-rw-r--r--drivers/misc/eeprom/at24.c2
-rw-r--r--drivers/misc/eeprom/at25.c2
-rw-r--r--drivers/misc/eeprom/eeprom_93xx46.c2
-rw-r--r--drivers/misc/fsa9480.c2
-rw-r--r--drivers/misc/hpilo.c2
-rw-r--r--drivers/misc/ibmasm/module.c2
-rw-r--r--drivers/misc/ioc4.c2
-rw-r--r--drivers/misc/isl29003.c2
-rw-r--r--drivers/misc/lis3lv02d/lis3lv02d_i2c.c2
-rw-r--r--drivers/misc/lis3lv02d/lis3lv02d_spi.c2
-rw-r--r--drivers/misc/pch_phub.c2
-rw-r--r--drivers/misc/phantom.c2
-rw-r--r--drivers/misc/pti.c2
-rw-r--r--drivers/misc/ti_dac7512.c2
-rw-r--r--drivers/misc/tsl2550.c2
25 files changed, 25 insertions, 25 deletions
diff --git a/drivers/misc/ad525x_dpot-i2c.c b/drivers/misc/ad525x_dpot-i2c.c
index 820826270b6..7254a98a89f 100644
--- a/drivers/misc/ad525x_dpot-i2c.c
+++ b/drivers/misc/ad525x_dpot-i2c.c
@@ -109,7 +109,7 @@ static struct i2c_driver ad_dpot_i2c_driver = {
109 .owner = THIS_MODULE, 109 .owner = THIS_MODULE,
110 }, 110 },
111 .probe = ad_dpot_i2c_probe, 111 .probe = ad_dpot_i2c_probe,
112 .remove = __devexit_p(ad_dpot_i2c_remove), 112 .remove = ad_dpot_i2c_remove,
113 .id_table = ad_dpot_id, 113 .id_table = ad_dpot_id,
114}; 114};
115 115
diff --git a/drivers/misc/ad525x_dpot-spi.c b/drivers/misc/ad525x_dpot-spi.c
index f62317540d0..67e3073c2a6 100644
--- a/drivers/misc/ad525x_dpot-spi.c
+++ b/drivers/misc/ad525x_dpot-spi.c
@@ -131,7 +131,7 @@ static struct spi_driver ad_dpot_spi_driver = {
131 .owner = THIS_MODULE, 131 .owner = THIS_MODULE,
132 }, 132 },
133 .probe = ad_dpot_spi_probe, 133 .probe = ad_dpot_spi_probe,
134 .remove = __devexit_p(ad_dpot_spi_remove), 134 .remove = ad_dpot_spi_remove,
135 .id_table = ad_dpot_spi_id, 135 .id_table = ad_dpot_spi_id,
136}; 136};
137 137
diff --git a/drivers/misc/apds9802als.c b/drivers/misc/apds9802als.c
index 94923d25991..0132d15a995 100644
--- a/drivers/misc/apds9802als.c
+++ b/drivers/misc/apds9802als.c
@@ -326,7 +326,7 @@ static struct i2c_driver apds9802als_driver = {
326 .pm = APDS9802ALS_PM_OPS, 326 .pm = APDS9802ALS_PM_OPS,
327 }, 327 },
328 .probe = apds9802als_probe, 328 .probe = apds9802als_probe,
329 .remove = __devexit_p(apds9802als_remove), 329 .remove = apds9802als_remove,
330 .suspend = apds9802als_suspend, 330 .suspend = apds9802als_suspend,
331 .resume = apds9802als_resume, 331 .resume = apds9802als_resume,
332 .id_table = apds9802als_id, 332 .id_table = apds9802als_id,
diff --git a/drivers/misc/apds990x.c b/drivers/misc/apds990x.c
index ee74244aa03..f955d546f2d 100644
--- a/drivers/misc/apds990x.c
+++ b/drivers/misc/apds990x.c
@@ -1275,7 +1275,7 @@ static struct i2c_driver apds990x_driver = {
1275 .pm = &apds990x_pm_ops, 1275 .pm = &apds990x_pm_ops,
1276 }, 1276 },
1277 .probe = apds990x_probe, 1277 .probe = apds990x_probe,
1278 .remove = __devexit_p(apds990x_remove), 1278 .remove = apds990x_remove,
1279 .id_table = apds990x_id, 1279 .id_table = apds990x_id,
1280}; 1280};
1281 1281
diff --git a/drivers/misc/atmel-ssc.c b/drivers/misc/atmel-ssc.c
index 5bb18778107..191c2ce9d5e 100644
--- a/drivers/misc/atmel-ssc.c
+++ b/drivers/misc/atmel-ssc.c
@@ -152,7 +152,7 @@ static int __devexit ssc_remove(struct platform_device *pdev)
152} 152}
153 153
154static struct platform_driver ssc_driver = { 154static struct platform_driver ssc_driver = {
155 .remove = __devexit_p(ssc_remove), 155 .remove = ssc_remove,
156 .driver = { 156 .driver = {
157 .name = "ssc", 157 .name = "ssc",
158 .owner = THIS_MODULE, 158 .owner = THIS_MODULE,
diff --git a/drivers/misc/bh1770glc.c b/drivers/misc/bh1770glc.c
index 3d56ae7ef8d..c4b65e26a76 100644
--- a/drivers/misc/bh1770glc.c
+++ b/drivers/misc/bh1770glc.c
@@ -1395,7 +1395,7 @@ static struct i2c_driver bh1770_driver = {
1395 .pm = &bh1770_pm_ops, 1395 .pm = &bh1770_pm_ops,
1396 }, 1396 },
1397 .probe = bh1770_probe, 1397 .probe = bh1770_probe,
1398 .remove = __devexit_p(bh1770_remove), 1398 .remove = bh1770_remove,
1399 .id_table = bh1770_id, 1399 .id_table = bh1770_id,
1400}; 1400};
1401 1401
diff --git a/drivers/misc/bh1780gli.c b/drivers/misc/bh1780gli.c
index f1f9877f3fd..54f6f39f990 100644
--- a/drivers/misc/bh1780gli.c
+++ b/drivers/misc/bh1780gli.c
@@ -248,7 +248,7 @@ static const struct i2c_device_id bh1780_id[] = {
248 248
249static struct i2c_driver bh1780_driver = { 249static struct i2c_driver bh1780_driver = {
250 .probe = bh1780_probe, 250 .probe = bh1780_probe,
251 .remove = __devexit_p(bh1780_remove), 251 .remove = bh1780_remove,
252 .id_table = bh1780_id, 252 .id_table = bh1780_id,
253 .driver = { 253 .driver = {
254 .name = "bh1780", 254 .name = "bh1780",
diff --git a/drivers/misc/bmp085-i2c.c b/drivers/misc/bmp085-i2c.c
index a4f33c995ea..08cd7958c14 100644
--- a/drivers/misc/bmp085-i2c.c
+++ b/drivers/misc/bmp085-i2c.c
@@ -71,7 +71,7 @@ static struct i2c_driver bmp085_i2c_driver = {
71 }, 71 },
72 .id_table = bmp085_id, 72 .id_table = bmp085_id,
73 .probe = bmp085_i2c_probe, 73 .probe = bmp085_i2c_probe,
74 .remove = __devexit_p(bmp085_i2c_remove), 74 .remove = bmp085_i2c_remove,
75 75
76 .detect = bmp085_i2c_detect, 76 .detect = bmp085_i2c_detect,
77 .address_list = normal_i2c 77 .address_list = normal_i2c
diff --git a/drivers/misc/bmp085-spi.c b/drivers/misc/bmp085-spi.c
index 5e982af9973..ed34885a6b3 100644
--- a/drivers/misc/bmp085-spi.c
+++ b/drivers/misc/bmp085-spi.c
@@ -70,7 +70,7 @@ static struct spi_driver bmp085_spi_driver = {
70 }, 70 },
71 .id_table = bmp085_id, 71 .id_table = bmp085_id,
72 .probe = bmp085_spi_probe, 72 .probe = bmp085_spi_probe,
73 .remove = __devexit_p(bmp085_spi_remove) 73 .remove = bmp085_spi_remove
74}; 74};
75 75
76module_spi_driver(bmp085_spi_driver); 76module_spi_driver(bmp085_spi_driver);
diff --git a/drivers/misc/cb710/core.c b/drivers/misc/cb710/core.c
index 9d5eed75466..489c468cf96 100644
--- a/drivers/misc/cb710/core.c
+++ b/drivers/misc/cb710/core.c
@@ -332,7 +332,7 @@ static struct pci_driver cb710_driver = {
332 .name = KBUILD_MODNAME, 332 .name = KBUILD_MODNAME,
333 .id_table = cb710_pci_tbl, 333 .id_table = cb710_pci_tbl,
334 .probe = cb710_probe, 334 .probe = cb710_probe,
335 .remove = __devexit_p(cb710_remove_one), 335 .remove = cb710_remove_one,
336#ifdef CONFIG_PM 336#ifdef CONFIG_PM
337 .suspend = cb710_suspend, 337 .suspend = cb710_suspend,
338 .resume = cb710_resume, 338 .resume = cb710_resume,
diff --git a/drivers/misc/eeprom/at24.c b/drivers/misc/eeprom/at24.c
index ab1ad41786d..3c36997bdac 100644
--- a/drivers/misc/eeprom/at24.c
+++ b/drivers/misc/eeprom/at24.c
@@ -680,7 +680,7 @@ static struct i2c_driver at24_driver = {
680 .owner = THIS_MODULE, 680 .owner = THIS_MODULE,
681 }, 681 },
682 .probe = at24_probe, 682 .probe = at24_probe,
683 .remove = __devexit_p(at24_remove), 683 .remove = at24_remove,
684 .id_table = at24_ids, 684 .id_table = at24_ids,
685}; 685};
686 686
diff --git a/drivers/misc/eeprom/at25.c b/drivers/misc/eeprom/at25.c
index 4ed93dd5411..fcb237e9bb1 100644
--- a/drivers/misc/eeprom/at25.c
+++ b/drivers/misc/eeprom/at25.c
@@ -477,7 +477,7 @@ static struct spi_driver at25_driver = {
477 .owner = THIS_MODULE, 477 .owner = THIS_MODULE,
478 }, 478 },
479 .probe = at25_probe, 479 .probe = at25_probe,
480 .remove = __devexit_p(at25_remove), 480 .remove = at25_remove,
481}; 481};
482 482
483module_spi_driver(at25_driver); 483module_spi_driver(at25_driver);
diff --git a/drivers/misc/eeprom/eeprom_93xx46.c b/drivers/misc/eeprom/eeprom_93xx46.c
index ce3fe3633dd..3dc14eafc5c 100644
--- a/drivers/misc/eeprom/eeprom_93xx46.c
+++ b/drivers/misc/eeprom/eeprom_93xx46.c
@@ -389,7 +389,7 @@ static struct spi_driver eeprom_93xx46_driver = {
389 .owner = THIS_MODULE, 389 .owner = THIS_MODULE,
390 }, 390 },
391 .probe = eeprom_93xx46_probe, 391 .probe = eeprom_93xx46_probe,
392 .remove = __devexit_p(eeprom_93xx46_remove), 392 .remove = eeprom_93xx46_remove,
393}; 393};
394 394
395module_spi_driver(eeprom_93xx46_driver); 395module_spi_driver(eeprom_93xx46_driver);
diff --git a/drivers/misc/fsa9480.c b/drivers/misc/fsa9480.c
index ac96c3a4034..38b52b90167 100644
--- a/drivers/misc/fsa9480.c
+++ b/drivers/misc/fsa9480.c
@@ -533,7 +533,7 @@ static struct i2c_driver fsa9480_i2c_driver = {
533 .name = "fsa9480", 533 .name = "fsa9480",
534 }, 534 },
535 .probe = fsa9480_probe, 535 .probe = fsa9480_probe,
536 .remove = __devexit_p(fsa9480_remove), 536 .remove = fsa9480_remove,
537 .resume = fsa9480_resume, 537 .resume = fsa9480_resume,
538 .suspend = fsa9480_suspend, 538 .suspend = fsa9480_suspend,
539 .id_table = fsa9480_id, 539 .id_table = fsa9480_id,
diff --git a/drivers/misc/hpilo.c b/drivers/misc/hpilo.c
index b362d938e92..47a9ce6b16f 100644
--- a/drivers/misc/hpilo.c
+++ b/drivers/misc/hpilo.c
@@ -859,7 +859,7 @@ static struct pci_driver ilo_driver = {
859 .name = ILO_NAME, 859 .name = ILO_NAME,
860 .id_table = ilo_devices, 860 .id_table = ilo_devices,
861 .probe = ilo_probe, 861 .probe = ilo_probe,
862 .remove = __devexit_p(ilo_remove), 862 .remove = ilo_remove,
863}; 863};
864 864
865static int __init ilo_init(void) 865static int __init ilo_init(void)
diff --git a/drivers/misc/ibmasm/module.c b/drivers/misc/ibmasm/module.c
index 168d8008f46..f34a92fd679 100644
--- a/drivers/misc/ibmasm/module.c
+++ b/drivers/misc/ibmasm/module.c
@@ -198,7 +198,7 @@ static struct pci_driver ibmasm_driver = {
198 .name = DRIVER_NAME, 198 .name = DRIVER_NAME,
199 .id_table = ibmasm_pci_table, 199 .id_table = ibmasm_pci_table,
200 .probe = ibmasm_init_one, 200 .probe = ibmasm_init_one,
201 .remove = __devexit_p(ibmasm_remove_one), 201 .remove = ibmasm_remove_one,
202}; 202};
203 203
204static void __exit ibmasm_exit (void) 204static void __exit ibmasm_exit (void)
diff --git a/drivers/misc/ioc4.c b/drivers/misc/ioc4.c
index 6a7710603a9..794a7e002c8 100644
--- a/drivers/misc/ioc4.c
+++ b/drivers/misc/ioc4.c
@@ -466,7 +466,7 @@ static struct pci_driver ioc4_driver = {
466 .name = "IOC4", 466 .name = "IOC4",
467 .id_table = ioc4_id_table, 467 .id_table = ioc4_id_table,
468 .probe = ioc4_probe, 468 .probe = ioc4_probe,
469 .remove = __devexit_p(ioc4_remove), 469 .remove = ioc4_remove,
470}; 470};
471 471
472MODULE_DEVICE_TABLE(pci, ioc4_id_table); 472MODULE_DEVICE_TABLE(pci, ioc4_id_table);
diff --git a/drivers/misc/isl29003.c b/drivers/misc/isl29003.c
index eb5de2e210d..bef5307296f 100644
--- a/drivers/misc/isl29003.c
+++ b/drivers/misc/isl29003.c
@@ -451,7 +451,7 @@ static struct i2c_driver isl29003_driver = {
451 .suspend = isl29003_suspend, 451 .suspend = isl29003_suspend,
452 .resume = isl29003_resume, 452 .resume = isl29003_resume,
453 .probe = isl29003_probe, 453 .probe = isl29003_probe,
454 .remove = __devexit_p(isl29003_remove), 454 .remove = isl29003_remove,
455 .id_table = isl29003_id, 455 .id_table = isl29003_id,
456}; 456};
457 457
diff --git a/drivers/misc/lis3lv02d/lis3lv02d_i2c.c b/drivers/misc/lis3lv02d/lis3lv02d_i2c.c
index 60ec8689d6e..403804c8612 100644
--- a/drivers/misc/lis3lv02d/lis3lv02d_i2c.c
+++ b/drivers/misc/lis3lv02d/lis3lv02d_i2c.c
@@ -280,7 +280,7 @@ static struct i2c_driver lis3lv02d_i2c_driver = {
280 .of_match_table = of_match_ptr(lis3lv02d_i2c_dt_ids), 280 .of_match_table = of_match_ptr(lis3lv02d_i2c_dt_ids),
281 }, 281 },
282 .probe = lis3lv02d_i2c_probe, 282 .probe = lis3lv02d_i2c_probe,
283 .remove = __devexit_p(lis3lv02d_i2c_remove), 283 .remove = lis3lv02d_i2c_remove,
284 .id_table = lis3lv02d_id, 284 .id_table = lis3lv02d_id,
285}; 285};
286 286
diff --git a/drivers/misc/lis3lv02d/lis3lv02d_spi.c b/drivers/misc/lis3lv02d/lis3lv02d_spi.c
index ccb6475fa05..0e415c31e03 100644
--- a/drivers/misc/lis3lv02d/lis3lv02d_spi.c
+++ b/drivers/misc/lis3lv02d/lis3lv02d_spi.c
@@ -144,7 +144,7 @@ static struct spi_driver lis302dl_spi_driver = {
144 .of_match_table = of_match_ptr(lis302dl_spi_dt_ids), 144 .of_match_table = of_match_ptr(lis302dl_spi_dt_ids),
145 }, 145 },
146 .probe = lis302dl_spi_probe, 146 .probe = lis302dl_spi_probe,
147 .remove = __devexit_p(lis302dl_spi_remove), 147 .remove = lis302dl_spi_remove,
148}; 148};
149 149
150module_spi_driver(lis302dl_spi_driver); 150module_spi_driver(lis302dl_spi_driver);
diff --git a/drivers/misc/pch_phub.c b/drivers/misc/pch_phub.c
index c9f20dae185..5581774393c 100644
--- a/drivers/misc/pch_phub.c
+++ b/drivers/misc/pch_phub.c
@@ -888,7 +888,7 @@ static struct pci_driver pch_phub_driver = {
888 .name = "pch_phub", 888 .name = "pch_phub",
889 .id_table = pch_phub_pcidev_id, 889 .id_table = pch_phub_pcidev_id,
890 .probe = pch_phub_probe, 890 .probe = pch_phub_probe,
891 .remove = __devexit_p(pch_phub_remove), 891 .remove = pch_phub_remove,
892 .suspend = pch_phub_suspend, 892 .suspend = pch_phub_suspend,
893 .resume = pch_phub_resume 893 .resume = pch_phub_resume
894}; 894};
diff --git a/drivers/misc/phantom.c b/drivers/misc/phantom.c
index 21b28fc6d91..79038e9ced0 100644
--- a/drivers/misc/phantom.c
+++ b/drivers/misc/phantom.c
@@ -499,7 +499,7 @@ static struct pci_driver phantom_pci_driver = {
499 .name = "phantom", 499 .name = "phantom",
500 .id_table = phantom_pci_tbl, 500 .id_table = phantom_pci_tbl,
501 .probe = phantom_probe, 501 .probe = phantom_probe,
502 .remove = __devexit_p(phantom_remove), 502 .remove = phantom_remove,
503 .suspend = phantom_suspend, 503 .suspend = phantom_suspend,
504 .resume = phantom_resume 504 .resume = phantom_resume
505}; 505};
diff --git a/drivers/misc/pti.c b/drivers/misc/pti.c
index 4999b34b7a6..3c5d74638ea 100644
--- a/drivers/misc/pti.c
+++ b/drivers/misc/pti.c
@@ -901,7 +901,7 @@ static struct pci_driver pti_pci_driver = {
901 .name = PCINAME, 901 .name = PCINAME,
902 .id_table = pci_ids, 902 .id_table = pci_ids,
903 .probe = pti_pci_probe, 903 .probe = pti_pci_probe,
904 .remove = __devexit_p(pti_pci_remove), 904 .remove = pti_pci_remove,
905}; 905};
906 906
907/** 907/**
diff --git a/drivers/misc/ti_dac7512.c b/drivers/misc/ti_dac7512.c
index 5acbba120de..85989ca7ad2 100644
--- a/drivers/misc/ti_dac7512.c
+++ b/drivers/misc/ti_dac7512.c
@@ -79,7 +79,7 @@ static struct spi_driver dac7512_driver = {
79 .owner = THIS_MODULE, 79 .owner = THIS_MODULE,
80 }, 80 },
81 .probe = dac7512_probe, 81 .probe = dac7512_probe,
82 .remove = __devexit_p(dac7512_remove), 82 .remove = dac7512_remove,
83}; 83};
84 84
85module_spi_driver(dac7512_driver); 85module_spi_driver(dac7512_driver);
diff --git a/drivers/misc/tsl2550.c b/drivers/misc/tsl2550.c
index 0beb298a17d..09ffb0b705f 100644
--- a/drivers/misc/tsl2550.c
+++ b/drivers/misc/tsl2550.c
@@ -450,7 +450,7 @@ static struct i2c_driver tsl2550_driver = {
450 .suspend = tsl2550_suspend, 450 .suspend = tsl2550_suspend,
451 .resume = tsl2550_resume, 451 .resume = tsl2550_resume,
452 .probe = tsl2550_probe, 452 .probe = tsl2550_probe,
453 .remove = __devexit_p(tsl2550_remove), 453 .remove = tsl2550_remove,
454 .id_table = tsl2550_id, 454 .id_table = tsl2550_id,
455}; 455};
456 456