aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Pemberton <wfp5p@virginia.edu>2012-11-19 13:26:02 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-11-21 15:53:32 -0500
commit486a5c28c2e7d6a80c393ac7d612b77d80447b84 (patch)
treeef3c552ad9e9c86606ecc8be4220065d8f39eb1b
parentb328bfec519875851c4b3d95cd22371aad0a657e (diff)
misc: 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> 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/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/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/mei/main.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/spear13xx_pcie_gadget.c2
-rw-r--r--drivers/misc/ti_dac7512.c2
-rw-r--r--drivers/misc/tsl2550.c2
24 files changed, 24 insertions, 24 deletions
diff --git a/drivers/misc/ad525x_dpot-i2c.c b/drivers/misc/ad525x_dpot-i2c.c
index c7bc84df4bdb..705b881e186d 100644
--- a/drivers/misc/ad525x_dpot-i2c.c
+++ b/drivers/misc/ad525x_dpot-i2c.c
@@ -68,7 +68,7 @@ static int ad_dpot_i2c_probe(struct i2c_client *client,
68 return ad_dpot_probe(&client->dev, &bdata, id->driver_data, id->name); 68 return ad_dpot_probe(&client->dev, &bdata, id->driver_data, id->name);
69} 69}
70 70
71static int __devexit ad_dpot_i2c_remove(struct i2c_client *client) 71static int ad_dpot_i2c_remove(struct i2c_client *client)
72{ 72{
73 return ad_dpot_remove(&client->dev); 73 return ad_dpot_remove(&client->dev);
74} 74}
diff --git a/drivers/misc/ad525x_dpot-spi.c b/drivers/misc/ad525x_dpot-spi.c
index 240c59870e7d..9da04ede04f3 100644
--- a/drivers/misc/ad525x_dpot-spi.c
+++ b/drivers/misc/ad525x_dpot-spi.c
@@ -87,7 +87,7 @@ static int ad_dpot_spi_probe(struct spi_device *spi)
87 spi_get_device_id(spi)->name); 87 spi_get_device_id(spi)->name);
88} 88}
89 89
90static int __devexit ad_dpot_spi_remove(struct spi_device *spi) 90static int ad_dpot_spi_remove(struct spi_device *spi)
91{ 91{
92 return ad_dpot_remove(&spi->dev); 92 return ad_dpot_remove(&spi->dev);
93} 93}
diff --git a/drivers/misc/apds9802als.c b/drivers/misc/apds9802als.c
index 0132d15a995c..d648b0893027 100644
--- a/drivers/misc/apds9802als.c
+++ b/drivers/misc/apds9802als.c
@@ -254,7 +254,7 @@ als_error1:
254 return res; 254 return res;
255} 255}
256 256
257static int __devexit apds9802als_remove(struct i2c_client *client) 257static int apds9802als_remove(struct i2c_client *client)
258{ 258{
259 struct als_data *data = i2c_get_clientdata(client); 259 struct als_data *data = i2c_get_clientdata(client);
260 260
diff --git a/drivers/misc/apds990x.c b/drivers/misc/apds990x.c
index b2aaf3f04459..0e67f8263cd8 100644
--- a/drivers/misc/apds990x.c
+++ b/drivers/misc/apds990x.c
@@ -1181,7 +1181,7 @@ fail1:
1181 return err; 1181 return err;
1182} 1182}
1183 1183
1184static int __devexit apds990x_remove(struct i2c_client *client) 1184static int apds990x_remove(struct i2c_client *client)
1185{ 1185{
1186 struct apds990x_chip *chip = i2c_get_clientdata(client); 1186 struct apds990x_chip *chip = i2c_get_clientdata(client);
1187 1187
diff --git a/drivers/misc/atmel-ssc.c b/drivers/misc/atmel-ssc.c
index 191c2ce9d5e1..c58f9abcb356 100644
--- a/drivers/misc/atmel-ssc.c
+++ b/drivers/misc/atmel-ssc.c
@@ -137,7 +137,7 @@ out:
137 return retval; 137 return retval;
138} 138}
139 139
140static int __devexit ssc_remove(struct platform_device *pdev) 140static int ssc_remove(struct platform_device *pdev)
141{ 141{
142 struct ssc_device *ssc = platform_get_drvdata(pdev); 142 struct ssc_device *ssc = platform_get_drvdata(pdev);
143 143
diff --git a/drivers/misc/bh1770glc.c b/drivers/misc/bh1770glc.c
index 003e8d9ab8a5..2ed8fc3be7e6 100644
--- a/drivers/misc/bh1770glc.c
+++ b/drivers/misc/bh1770glc.c
@@ -1285,7 +1285,7 @@ fail1:
1285 return err; 1285 return err;
1286} 1286}
1287 1287
1288static int __devexit bh1770_remove(struct i2c_client *client) 1288static int bh1770_remove(struct i2c_client *client)
1289{ 1289{
1290 struct bh1770_chip *chip = i2c_get_clientdata(client); 1290 struct bh1770_chip *chip = i2c_get_clientdata(client);
1291 1291
diff --git a/drivers/misc/bh1780gli.c b/drivers/misc/bh1780gli.c
index 3004904d23d4..cf03d0abf33e 100644
--- a/drivers/misc/bh1780gli.c
+++ b/drivers/misc/bh1780gli.c
@@ -185,7 +185,7 @@ err_op_failed:
185 return ret; 185 return ret;
186} 186}
187 187
188static int __devexit bh1780_remove(struct i2c_client *client) 188static int bh1780_remove(struct i2c_client *client)
189{ 189{
190 struct bh1780_data *ddata; 190 struct bh1780_data *ddata;
191 191
diff --git a/drivers/misc/cb710/core.c b/drivers/misc/cb710/core.c
index 4fc9c37cd202..2e50f811ff59 100644
--- a/drivers/misc/cb710/core.c
+++ b/drivers/misc/cb710/core.c
@@ -305,7 +305,7 @@ unreg_mmc:
305 return err; 305 return err;
306} 306}
307 307
308static void __devexit cb710_remove_one(struct pci_dev *pdev) 308static void cb710_remove_one(struct pci_dev *pdev)
309{ 309{
310 struct cb710_chip *chip = pci_get_drvdata(pdev); 310 struct cb710_chip *chip = pci_get_drvdata(pdev);
311 unsigned long flags; 311 unsigned long flags;
diff --git a/drivers/misc/eeprom/at24.c b/drivers/misc/eeprom/at24.c
index 3c36997bdacd..2baeec56edfe 100644
--- a/drivers/misc/eeprom/at24.c
+++ b/drivers/misc/eeprom/at24.c
@@ -656,7 +656,7 @@ err_out:
656 return err; 656 return err;
657} 657}
658 658
659static int __devexit at24_remove(struct i2c_client *client) 659static int at24_remove(struct i2c_client *client)
660{ 660{
661 struct at24_data *at24; 661 struct at24_data *at24;
662 int i; 662 int i;
diff --git a/drivers/misc/eeprom/at25.c b/drivers/misc/eeprom/at25.c
index fcb237e9bb1a..b08cf8a08789 100644
--- a/drivers/misc/eeprom/at25.c
+++ b/drivers/misc/eeprom/at25.c
@@ -459,7 +459,7 @@ fail:
459 return err; 459 return err;
460} 460}
461 461
462static int __devexit at25_remove(struct spi_device *spi) 462static int at25_remove(struct spi_device *spi)
463{ 463{
464 struct at25_data *at25; 464 struct at25_data *at25;
465 465
diff --git a/drivers/misc/eeprom/eeprom_93xx46.c b/drivers/misc/eeprom/eeprom_93xx46.c
index 3dd9005fd0e5..a6b5d5e73485 100644
--- a/drivers/misc/eeprom/eeprom_93xx46.c
+++ b/drivers/misc/eeprom/eeprom_93xx46.c
@@ -370,7 +370,7 @@ fail:
370 return err; 370 return err;
371} 371}
372 372
373static int __devexit eeprom_93xx46_remove(struct spi_device *spi) 373static int eeprom_93xx46_remove(struct spi_device *spi)
374{ 374{
375 struct eeprom_93xx46_dev *edev = dev_get_drvdata(&spi->dev); 375 struct eeprom_93xx46_dev *edev = dev_get_drvdata(&spi->dev);
376 376
diff --git a/drivers/misc/fsa9480.c b/drivers/misc/fsa9480.c
index 2baa52f07c7a..e8cbb1c59f4c 100644
--- a/drivers/misc/fsa9480.c
+++ b/drivers/misc/fsa9480.c
@@ -462,7 +462,7 @@ fail1:
462 return ret; 462 return ret;
463} 463}
464 464
465static int __devexit fsa9480_remove(struct i2c_client *client) 465static int fsa9480_remove(struct i2c_client *client)
466{ 466{
467 struct fsa9480_usbsw *usbsw = i2c_get_clientdata(client); 467 struct fsa9480_usbsw *usbsw = i2c_get_clientdata(client);
468 if (client->irq) 468 if (client->irq)
diff --git a/drivers/misc/ibmasm/module.c b/drivers/misc/ibmasm/module.c
index 380e4298ada1..0346d87c5fed 100644
--- a/drivers/misc/ibmasm/module.c
+++ b/drivers/misc/ibmasm/module.c
@@ -163,7 +163,7 @@ error_resources:
163 return result; 163 return result;
164} 164}
165 165
166static void __devexit ibmasm_remove_one(struct pci_dev *pdev) 166static void ibmasm_remove_one(struct pci_dev *pdev)
167{ 167{
168 struct service_processor *sp = (struct service_processor *)pci_get_drvdata(pdev); 168 struct service_processor *sp = (struct service_processor *)pci_get_drvdata(pdev);
169 169
diff --git a/drivers/misc/ioc4.c b/drivers/misc/ioc4.c
index 3ef92dca5472..06f6ad29ceff 100644
--- a/drivers/misc/ioc4.c
+++ b/drivers/misc/ioc4.c
@@ -415,7 +415,7 @@ out:
415} 415}
416 416
417/* Removes a particular instance of an IOC4 card. */ 417/* Removes a particular instance of an IOC4 card. */
418static void __devexit 418static void
419ioc4_remove(struct pci_dev *pdev) 419ioc4_remove(struct pci_dev *pdev)
420{ 420{
421 struct ioc4_submodule *is; 421 struct ioc4_submodule *is;
diff --git a/drivers/misc/isl29003.c b/drivers/misc/isl29003.c
index 9fd4c0c6e599..29b306c6bdb3 100644
--- a/drivers/misc/isl29003.c
+++ b/drivers/misc/isl29003.c
@@ -401,7 +401,7 @@ exit_kfree:
401 return err; 401 return err;
402} 402}
403 403
404static int __devexit isl29003_remove(struct i2c_client *client) 404static int isl29003_remove(struct i2c_client *client)
405{ 405{
406 sysfs_remove_group(&client->dev.kobj, &isl29003_attr_group); 406 sysfs_remove_group(&client->dev.kobj, &isl29003_attr_group);
407 isl29003_set_power_state(client, 0); 407 isl29003_set_power_state(client, 0);
diff --git a/drivers/misc/lis3lv02d/lis3lv02d_i2c.c b/drivers/misc/lis3lv02d/lis3lv02d_i2c.c
index 66f0483efb03..7c97550240f1 100644
--- a/drivers/misc/lis3lv02d/lis3lv02d_i2c.c
+++ b/drivers/misc/lis3lv02d/lis3lv02d_i2c.c
@@ -191,7 +191,7 @@ fail:
191 return ret; 191 return ret;
192} 192}
193 193
194static int __devexit lis3lv02d_i2c_remove(struct i2c_client *client) 194static int lis3lv02d_i2c_remove(struct i2c_client *client)
195{ 195{
196 struct lis3lv02d *lis3 = i2c_get_clientdata(client); 196 struct lis3lv02d *lis3 = i2c_get_clientdata(client);
197 struct lis3lv02d_platform_data *pdata = client->dev.platform_data; 197 struct lis3lv02d_platform_data *pdata = client->dev.platform_data;
diff --git a/drivers/misc/lis3lv02d/lis3lv02d_spi.c b/drivers/misc/lis3lv02d/lis3lv02d_spi.c
index 66a751d2ed53..9aa2bd2a71ae 100644
--- a/drivers/misc/lis3lv02d/lis3lv02d_spi.c
+++ b/drivers/misc/lis3lv02d/lis3lv02d_spi.c
@@ -100,7 +100,7 @@ static int lis302dl_spi_probe(struct spi_device *spi)
100 return lis3lv02d_init_device(&lis3_dev); 100 return lis3lv02d_init_device(&lis3_dev);
101} 101}
102 102
103static int __devexit lis302dl_spi_remove(struct spi_device *spi) 103static int lis302dl_spi_remove(struct spi_device *spi)
104{ 104{
105 struct lis3lv02d *lis3 = spi_get_drvdata(spi); 105 struct lis3lv02d *lis3 = spi_get_drvdata(spi);
106 lis3lv02d_joystick_disable(lis3); 106 lis3lv02d_joystick_disable(lis3);
diff --git a/drivers/misc/mei/main.c b/drivers/misc/mei/main.c
index 4782c582ae38..43fb52ff98ad 100644
--- a/drivers/misc/mei/main.c
+++ b/drivers/misc/mei/main.c
@@ -882,7 +882,7 @@ end:
882 * mei_remove is called by the PCI subsystem to alert the driver 882 * mei_remove is called by the PCI subsystem to alert the driver
883 * that it should release a PCI device. 883 * that it should release a PCI device.
884 */ 884 */
885static void __devexit mei_remove(struct pci_dev *pdev) 885static void mei_remove(struct pci_dev *pdev)
886{ 886{
887 struct mei_device *dev; 887 struct mei_device *dev;
888 888
diff --git a/drivers/misc/pch_phub.c b/drivers/misc/pch_phub.c
index 3896cff2579f..931e635aa491 100644
--- a/drivers/misc/pch_phub.c
+++ b/drivers/misc/pch_phub.c
@@ -819,7 +819,7 @@ err_pci_enable_dev:
819 return ret; 819 return ret;
820} 820}
821 821
822static void __devexit pch_phub_remove(struct pci_dev *pdev) 822static void pch_phub_remove(struct pci_dev *pdev)
823{ 823{
824 struct pch_phub_reg *chip = pci_get_drvdata(pdev); 824 struct pch_phub_reg *chip = pci_get_drvdata(pdev);
825 825
diff --git a/drivers/misc/phantom.c b/drivers/misc/phantom.c
index 035776342a4c..68b7c773d2cf 100644
--- a/drivers/misc/phantom.c
+++ b/drivers/misc/phantom.c
@@ -435,7 +435,7 @@ err:
435 return retval; 435 return retval;
436} 436}
437 437
438static void __devexit phantom_remove(struct pci_dev *pdev) 438static void phantom_remove(struct pci_dev *pdev)
439{ 439{
440 struct phantom_device *pht = pci_get_drvdata(pdev); 440 struct phantom_device *pht = pci_get_drvdata(pdev);
441 unsigned int minor = MINOR(pht->cdev.dev); 441 unsigned int minor = MINOR(pht->cdev.dev);
diff --git a/drivers/misc/pti.c b/drivers/misc/pti.c
index 37d4b5ef9dc7..7003031c9181 100644
--- a/drivers/misc/pti.c
+++ b/drivers/misc/pti.c
@@ -879,7 +879,7 @@ err:
879 * PCI bus. 879 * PCI bus.
880 * @pdev: variable containing pci info of PTI. 880 * @pdev: variable containing pci info of PTI.
881 */ 881 */
882static void __devexit pti_pci_remove(struct pci_dev *pdev) 882static void pti_pci_remove(struct pci_dev *pdev)
883{ 883{
884 struct pti_dev *drv_data = pci_get_drvdata(pdev); 884 struct pti_dev *drv_data = pci_get_drvdata(pdev);
885 885
diff --git a/drivers/misc/spear13xx_pcie_gadget.c b/drivers/misc/spear13xx_pcie_gadget.c
index 7850320462fb..7deb25dc86a7 100644
--- a/drivers/misc/spear13xx_pcie_gadget.c
+++ b/drivers/misc/spear13xx_pcie_gadget.c
@@ -853,7 +853,7 @@ err_rel_res0:
853 return status; 853 return status;
854} 854}
855 855
856static int __devexit spear_pcie_gadget_remove(struct platform_device *pdev) 856static int spear_pcie_gadget_remove(struct platform_device *pdev)
857{ 857{
858 struct resource *res0, *res1; 858 struct resource *res0, *res1;
859 static struct pcie_gadget_target *target; 859 static struct pcie_gadget_target *target;
diff --git a/drivers/misc/ti_dac7512.c b/drivers/misc/ti_dac7512.c
index 1222f86dfda9..1d86407189eb 100644
--- a/drivers/misc/ti_dac7512.c
+++ b/drivers/misc/ti_dac7512.c
@@ -67,7 +67,7 @@ static int dac7512_probe(struct spi_device *spi)
67 return sysfs_create_group(&spi->dev.kobj, &dac7512_attr_group); 67 return sysfs_create_group(&spi->dev.kobj, &dac7512_attr_group);
68} 68}
69 69
70static int __devexit dac7512_remove(struct spi_device *spi) 70static int dac7512_remove(struct spi_device *spi)
71{ 71{
72 sysfs_remove_group(&spi->dev.kobj, &dac7512_attr_group); 72 sysfs_remove_group(&spi->dev.kobj, &dac7512_attr_group);
73 return 0; 73 return 0;
diff --git a/drivers/misc/tsl2550.c b/drivers/misc/tsl2550.c
index 18bce70b30f2..1e7bc0eb081e 100644
--- a/drivers/misc/tsl2550.c
+++ b/drivers/misc/tsl2550.c
@@ -405,7 +405,7 @@ exit:
405 return err; 405 return err;
406} 406}
407 407
408static int __devexit tsl2550_remove(struct i2c_client *client) 408static int tsl2550_remove(struct i2c_client *client)
409{ 409{
410 sysfs_remove_group(&client->dev.kobj, &tsl2550_attr_group); 410 sysfs_remove_group(&client->dev.kobj, &tsl2550_attr_group);
411 411