aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Pemberton <wfp5p@virginia.edu>2012-11-19 13:23:05 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-11-21 15:51:53 -0500
commit80c8ae289266529445fad030fabf5fcf01ccda0d (patch)
treeeba9aed6018d314a492eea1e00f03e5de83a2665
parent2d6bed9ca93e98685bc5038d686984fd449cd978 (diff)
misc: remove use of __devinit
CONFIG_HOTPLUG is going away as an option so __devinit is no longer needed. Signed-off-by: Bill Pemberton <wfp5p@virginia.edu> Cc: "Michał Mirosław" <mirq-linux@rere.qmqm.pl> 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/ad525x_dpot.c4
-rw-r--r--drivers/misc/apds990x.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/bmp085.c2
-rw-r--r--drivers/misc/cb710/core.c6
-rw-r--r--drivers/misc/cs5535-mfgpt.c6
-rw-r--r--drivers/misc/eeprom/eeprom_93xx46.c2
-rw-r--r--drivers/misc/fsa9480.c2
-rw-r--r--drivers/misc/hpilo.c4
-rw-r--r--drivers/misc/ibmasm/module.c2
-rw-r--r--drivers/misc/ioc4.c6
-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.c4
-rw-r--r--drivers/misc/pch_phub.c2
-rw-r--r--drivers/misc/phantom.c4
-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
26 files changed, 36 insertions, 36 deletions
diff --git a/drivers/misc/ad525x_dpot-i2c.c b/drivers/misc/ad525x_dpot-i2c.c
index 7254a98a89f6..c7bc84df4bdb 100644
--- a/drivers/misc/ad525x_dpot-i2c.c
+++ b/drivers/misc/ad525x_dpot-i2c.c
@@ -51,7 +51,7 @@ static const struct ad_dpot_bus_ops bops = {
51 .write_r8d16 = write_r8d16, 51 .write_r8d16 = write_r8d16,
52}; 52};
53 53
54static int __devinit ad_dpot_i2c_probe(struct i2c_client *client, 54static int ad_dpot_i2c_probe(struct i2c_client *client,
55 const struct i2c_device_id *id) 55 const struct i2c_device_id *id)
56{ 56{
57 struct ad_dpot_bus_data bdata = { 57 struct ad_dpot_bus_data bdata = {
diff --git a/drivers/misc/ad525x_dpot-spi.c b/drivers/misc/ad525x_dpot-spi.c
index 67e3073c2a6f..240c59870e7d 100644
--- a/drivers/misc/ad525x_dpot-spi.c
+++ b/drivers/misc/ad525x_dpot-spi.c
@@ -75,7 +75,7 @@ static const struct ad_dpot_bus_ops bops = {
75 .write_r8d8 = write16, 75 .write_r8d8 = write16,
76 .write_r8d16 = write24, 76 .write_r8d16 = write24,
77}; 77};
78static int __devinit ad_dpot_spi_probe(struct spi_device *spi) 78static int ad_dpot_spi_probe(struct spi_device *spi)
79{ 79{
80 struct ad_dpot_bus_data bdata = { 80 struct ad_dpot_bus_data bdata = {
81 .client = spi, 81 .client = spi,
diff --git a/drivers/misc/ad525x_dpot.c b/drivers/misc/ad525x_dpot.c
index 6938f1be664d..8f99e8e3f0ac 100644
--- a/drivers/misc/ad525x_dpot.c
+++ b/drivers/misc/ad525x_dpot.c
@@ -641,7 +641,7 @@ static const struct attribute_group ad525x_group_commands = {
641 .attrs = ad525x_attributes_commands, 641 .attrs = ad525x_attributes_commands,
642}; 642};
643 643
644__devinit int ad_dpot_add_files(struct device *dev, 644int ad_dpot_add_files(struct device *dev,
645 unsigned features, unsigned rdac) 645 unsigned features, unsigned rdac)
646{ 646{
647 int err = sysfs_create_file(&dev->kobj, 647 int err = sysfs_create_file(&dev->kobj,
@@ -685,7 +685,7 @@ inline void ad_dpot_remove_files(struct device *dev,
685 } 685 }
686} 686}
687 687
688int __devinit ad_dpot_probe(struct device *dev, 688int ad_dpot_probe(struct device *dev,
689 struct ad_dpot_bus_data *bdata, unsigned long devid, 689 struct ad_dpot_bus_data *bdata, unsigned long devid,
690 const char *name) 690 const char *name)
691{ 691{
diff --git a/drivers/misc/apds990x.c b/drivers/misc/apds990x.c
index f955d546f2df..b2aaf3f04459 100644
--- a/drivers/misc/apds990x.c
+++ b/drivers/misc/apds990x.c
@@ -1047,7 +1047,7 @@ static struct attribute_group apds990x_attribute_group[] = {
1047 {.attrs = sysfs_attrs_ctrl }, 1047 {.attrs = sysfs_attrs_ctrl },
1048}; 1048};
1049 1049
1050static int __devinit apds990x_probe(struct i2c_client *client, 1050static int apds990x_probe(struct i2c_client *client,
1051 const struct i2c_device_id *id) 1051 const struct i2c_device_id *id)
1052{ 1052{
1053 struct apds990x_chip *chip; 1053 struct apds990x_chip *chip;
diff --git a/drivers/misc/bh1770glc.c b/drivers/misc/bh1770glc.c
index c4b65e26a76c..003e8d9ab8a5 100644
--- a/drivers/misc/bh1770glc.c
+++ b/drivers/misc/bh1770glc.c
@@ -1162,7 +1162,7 @@ static struct attribute_group bh1770_attribute_group = {
1162 .attrs = sysfs_attrs 1162 .attrs = sysfs_attrs
1163}; 1163};
1164 1164
1165static int __devinit bh1770_probe(struct i2c_client *client, 1165static int bh1770_probe(struct i2c_client *client,
1166 const struct i2c_device_id *id) 1166 const struct i2c_device_id *id)
1167{ 1167{
1168 struct bh1770_chip *chip; 1168 struct bh1770_chip *chip;
diff --git a/drivers/misc/bh1780gli.c b/drivers/misc/bh1780gli.c
index 54f6f39f990a..3004904d23d4 100644
--- a/drivers/misc/bh1780gli.c
+++ b/drivers/misc/bh1780gli.c
@@ -144,7 +144,7 @@ static const struct attribute_group bh1780_attr_group = {
144 .attrs = bh1780_attributes, 144 .attrs = bh1780_attributes,
145}; 145};
146 146
147static int __devinit bh1780_probe(struct i2c_client *client, 147static int bh1780_probe(struct i2c_client *client,
148 const struct i2c_device_id *id) 148 const struct i2c_device_id *id)
149{ 149{
150 int ret; 150 int ret;
diff --git a/drivers/misc/bmp085-i2c.c b/drivers/misc/bmp085-i2c.c
index 08cd7958c147..3abfcecf8424 100644
--- a/drivers/misc/bmp085-i2c.c
+++ b/drivers/misc/bmp085-i2c.c
@@ -36,7 +36,7 @@ static int bmp085_i2c_detect(struct i2c_client *client,
36 return bmp085_detect(&client->dev); 36 return bmp085_detect(&client->dev);
37} 37}
38 38
39static int __devinit bmp085_i2c_probe(struct i2c_client *client, 39static int bmp085_i2c_probe(struct i2c_client *client,
40 const struct i2c_device_id *id) 40 const struct i2c_device_id *id)
41{ 41{
42 int err; 42 int err;
diff --git a/drivers/misc/bmp085-spi.c b/drivers/misc/bmp085-spi.c
index ed34885a6b3f..d6a52659cf24 100644
--- a/drivers/misc/bmp085-spi.c
+++ b/drivers/misc/bmp085-spi.c
@@ -22,7 +22,7 @@
22#include <linux/err.h> 22#include <linux/err.h>
23#include "bmp085.h" 23#include "bmp085.h"
24 24
25static int __devinit bmp085_spi_probe(struct spi_device *client) 25static int bmp085_spi_probe(struct spi_device *client)
26{ 26{
27 int err; 27 int err;
28 struct regmap *regmap; 28 struct regmap *regmap;
diff --git a/drivers/misc/bmp085.c b/drivers/misc/bmp085.c
index 62e418293b7e..849e2fed4da2 100644
--- a/drivers/misc/bmp085.c
+++ b/drivers/misc/bmp085.c
@@ -420,7 +420,7 @@ struct regmap_config bmp085_regmap_config = {
420}; 420};
421EXPORT_SYMBOL_GPL(bmp085_regmap_config); 421EXPORT_SYMBOL_GPL(bmp085_regmap_config);
422 422
423__devinit int bmp085_probe(struct device *dev, struct regmap *regmap) 423int bmp085_probe(struct device *dev, struct regmap *regmap)
424{ 424{
425 struct bmp085_data *data; 425 struct bmp085_data *data;
426 int err = 0; 426 int err = 0;
diff --git a/drivers/misc/cb710/core.c b/drivers/misc/cb710/core.c
index 489c468cf965..4fc9c37cd202 100644
--- a/drivers/misc/cb710/core.c
+++ b/drivers/misc/cb710/core.c
@@ -30,7 +30,7 @@ void cb710_pci_update_config_reg(struct pci_dev *pdev,
30EXPORT_SYMBOL_GPL(cb710_pci_update_config_reg); 30EXPORT_SYMBOL_GPL(cb710_pci_update_config_reg);
31 31
32/* Some magic writes based on Windows driver init code */ 32/* Some magic writes based on Windows driver init code */
33static int __devinit cb710_pci_configure(struct pci_dev *pdev) 33static int cb710_pci_configure(struct pci_dev *pdev)
34{ 34{
35 unsigned int devfn = PCI_DEVFN(PCI_SLOT(pdev->devfn), 0); 35 unsigned int devfn = PCI_DEVFN(PCI_SLOT(pdev->devfn), 0);
36 struct pci_dev *pdev0; 36 struct pci_dev *pdev0;
@@ -96,7 +96,7 @@ static void cb710_release_slot(struct device *dev)
96#endif 96#endif
97} 97}
98 98
99static int __devinit cb710_register_slot(struct cb710_chip *chip, 99static int cb710_register_slot(struct cb710_chip *chip,
100 unsigned slot_mask, unsigned io_offset, const char *name) 100 unsigned slot_mask, unsigned io_offset, const char *name)
101{ 101{
102 int nr = chip->slots; 102 int nr = chip->slots;
@@ -201,7 +201,7 @@ static int cb710_resume(struct pci_dev *pdev)
201 201
202#endif /* CONFIG_PM */ 202#endif /* CONFIG_PM */
203 203
204static int __devinit cb710_probe(struct pci_dev *pdev, 204static int cb710_probe(struct pci_dev *pdev,
205 const struct pci_device_id *ent) 205 const struct pci_device_id *ent)
206{ 206{
207 struct cb710_chip *chip; 207 struct cb710_chip *chip;
diff --git a/drivers/misc/cs5535-mfgpt.c b/drivers/misc/cs5535-mfgpt.c
index f505a40a8f49..9858f36dad8b 100644
--- a/drivers/misc/cs5535-mfgpt.c
+++ b/drivers/misc/cs5535-mfgpt.c
@@ -246,7 +246,7 @@ EXPORT_SYMBOL_GPL(cs5535_mfgpt_write);
246 * Jordan tells me that he and Mitch once played w/ it, but it's unclear 246 * Jordan tells me that he and Mitch once played w/ it, but it's unclear
247 * what the results of that were (and they experienced some instability). 247 * what the results of that were (and they experienced some instability).
248 */ 248 */
249static void __devinit reset_all_timers(void) 249static void reset_all_timers(void)
250{ 250{
251 uint32_t val, dummy; 251 uint32_t val, dummy;
252 252
@@ -262,7 +262,7 @@ static void __devinit reset_all_timers(void)
262 * In other cases (such as with VSAless OpenFirmware), the system firmware 262 * In other cases (such as with VSAless OpenFirmware), the system firmware
263 * leaves timers available for us to use. 263 * leaves timers available for us to use.
264 */ 264 */
265static int __devinit scan_timers(struct cs5535_mfgpt_chip *mfgpt) 265static int scan_timers(struct cs5535_mfgpt_chip *mfgpt)
266{ 266{
267 struct cs5535_mfgpt_timer timer = { .chip = mfgpt }; 267 struct cs5535_mfgpt_timer timer = { .chip = mfgpt };
268 unsigned long flags; 268 unsigned long flags;
@@ -289,7 +289,7 @@ static int __devinit scan_timers(struct cs5535_mfgpt_chip *mfgpt)
289 return timers; 289 return timers;
290} 290}
291 291
292static int __devinit cs5535_mfgpt_probe(struct platform_device *pdev) 292static int cs5535_mfgpt_probe(struct platform_device *pdev)
293{ 293{
294 struct resource *res; 294 struct resource *res;
295 int err = -EIO, t; 295 int err = -EIO, t;
diff --git a/drivers/misc/eeprom/eeprom_93xx46.c b/drivers/misc/eeprom/eeprom_93xx46.c
index 3dc14eafc5ce..3dd9005fd0e5 100644
--- a/drivers/misc/eeprom/eeprom_93xx46.c
+++ b/drivers/misc/eeprom/eeprom_93xx46.c
@@ -309,7 +309,7 @@ static ssize_t eeprom_93xx46_store_erase(struct device *dev,
309} 309}
310static DEVICE_ATTR(erase, S_IWUSR, NULL, eeprom_93xx46_store_erase); 310static DEVICE_ATTR(erase, S_IWUSR, NULL, eeprom_93xx46_store_erase);
311 311
312static int __devinit eeprom_93xx46_probe(struct spi_device *spi) 312static int eeprom_93xx46_probe(struct spi_device *spi)
313{ 313{
314 struct eeprom_93xx46_platform_data *pd; 314 struct eeprom_93xx46_platform_data *pd;
315 struct eeprom_93xx46_dev *edev; 315 struct eeprom_93xx46_dev *edev;
diff --git a/drivers/misc/fsa9480.c b/drivers/misc/fsa9480.c
index 38b52b901678..2baa52f07c7a 100644
--- a/drivers/misc/fsa9480.c
+++ b/drivers/misc/fsa9480.c
@@ -407,7 +407,7 @@ static int fsa9480_irq_init(struct fsa9480_usbsw *usbsw)
407 return 0; 407 return 0;
408} 408}
409 409
410static int __devinit fsa9480_probe(struct i2c_client *client, 410static int fsa9480_probe(struct i2c_client *client,
411 const struct i2c_device_id *id) 411 const struct i2c_device_id *id)
412{ 412{
413 struct i2c_adapter *adapter = to_i2c_adapter(client->dev.parent); 413 struct i2c_adapter *adapter = to_i2c_adapter(client->dev.parent);
diff --git a/drivers/misc/hpilo.c b/drivers/misc/hpilo.c
index 47a9ce6b16fd..621c7a373390 100644
--- a/drivers/misc/hpilo.c
+++ b/drivers/misc/hpilo.c
@@ -686,7 +686,7 @@ static void ilo_unmap_device(struct pci_dev *pdev, struct ilo_hwinfo *hw)
686 pci_iounmap(pdev, hw->mmio_vaddr); 686 pci_iounmap(pdev, hw->mmio_vaddr);
687} 687}
688 688
689static int __devinit ilo_map_device(struct pci_dev *pdev, struct ilo_hwinfo *hw) 689static int ilo_map_device(struct pci_dev *pdev, struct ilo_hwinfo *hw)
690{ 690{
691 int error = -ENOMEM; 691 int error = -ENOMEM;
692 692
@@ -751,7 +751,7 @@ static void ilo_remove(struct pci_dev *pdev)
751 ilo_hwdev[(minor / max_ccb)] = 0; 751 ilo_hwdev[(minor / max_ccb)] = 0;
752} 752}
753 753
754static int __devinit ilo_probe(struct pci_dev *pdev, 754static int ilo_probe(struct pci_dev *pdev,
755 const struct pci_device_id *ent) 755 const struct pci_device_id *ent)
756{ 756{
757 int devnum, minor, start, error = 0; 757 int devnum, minor, start, error = 0;
diff --git a/drivers/misc/ibmasm/module.c b/drivers/misc/ibmasm/module.c
index f34a92fd679b..380e4298ada1 100644
--- a/drivers/misc/ibmasm/module.c
+++ b/drivers/misc/ibmasm/module.c
@@ -62,7 +62,7 @@ module_param(ibmasm_debug, int , S_IRUGO | S_IWUSR);
62MODULE_PARM_DESC(ibmasm_debug, " Set debug mode on or off"); 62MODULE_PARM_DESC(ibmasm_debug, " Set debug mode on or off");
63 63
64 64
65static int __devinit ibmasm_init_one(struct pci_dev *pdev, const struct pci_device_id *id) 65static int ibmasm_init_one(struct pci_dev *pdev, const struct pci_device_id *id)
66{ 66{
67 int result; 67 int result;
68 struct service_processor *sp; 68 struct service_processor *sp;
diff --git a/drivers/misc/ioc4.c b/drivers/misc/ioc4.c
index 794a7e002c87..3ef92dca5472 100644
--- a/drivers/misc/ioc4.c
+++ b/drivers/misc/ioc4.c
@@ -139,7 +139,7 @@ ioc4_unregister_submodule(struct ioc4_submodule *is)
139 * even though the following code utilizes external interrupt registers 139 * even though the following code utilizes external interrupt registers
140 * to perform the speed calculation. 140 * to perform the speed calculation.
141 */ 141 */
142static void __devinit 142static void
143ioc4_clock_calibrate(struct ioc4_driver_data *idd) 143ioc4_clock_calibrate(struct ioc4_driver_data *idd)
144{ 144{
145 union ioc4_int_out int_out; 145 union ioc4_int_out int_out;
@@ -231,7 +231,7 @@ ioc4_clock_calibrate(struct ioc4_driver_data *idd)
231 * on the same PCI bus at slot number 3 to differentiate IO9 from IO10. 231 * on the same PCI bus at slot number 3 to differentiate IO9 from IO10.
232 * If neither is present, it's a PCI-RT. 232 * If neither is present, it's a PCI-RT.
233 */ 233 */
234static unsigned int __devinit 234static unsigned int
235ioc4_variant(struct ioc4_driver_data *idd) 235ioc4_variant(struct ioc4_driver_data *idd)
236{ 236{
237 struct pci_dev *pdev = NULL; 237 struct pci_dev *pdev = NULL;
@@ -279,7 +279,7 @@ ioc4_load_modules(struct work_struct *work)
279static DECLARE_WORK(ioc4_load_modules_work, ioc4_load_modules); 279static DECLARE_WORK(ioc4_load_modules_work, ioc4_load_modules);
280 280
281/* Adds a new instance of an IOC4 card */ 281/* Adds a new instance of an IOC4 card */
282static int __devinit 282static int
283ioc4_probe(struct pci_dev *pdev, const struct pci_device_id *pci_id) 283ioc4_probe(struct pci_dev *pdev, const struct pci_device_id *pci_id)
284{ 284{
285 struct ioc4_driver_data *idd; 285 struct ioc4_driver_data *idd;
diff --git a/drivers/misc/isl29003.c b/drivers/misc/isl29003.c
index bef5307296f7..9fd4c0c6e599 100644
--- a/drivers/misc/isl29003.c
+++ b/drivers/misc/isl29003.c
@@ -365,7 +365,7 @@ static int isl29003_init_client(struct i2c_client *client)
365 * I2C layer 365 * I2C layer
366 */ 366 */
367 367
368static int __devinit isl29003_probe(struct i2c_client *client, 368static int isl29003_probe(struct i2c_client *client,
369 const struct i2c_device_id *id) 369 const struct i2c_device_id *id)
370{ 370{
371 struct i2c_adapter *adapter = to_i2c_adapter(client->dev.parent); 371 struct i2c_adapter *adapter = to_i2c_adapter(client->dev.parent);
diff --git a/drivers/misc/lis3lv02d/lis3lv02d_i2c.c b/drivers/misc/lis3lv02d/lis3lv02d_i2c.c
index 403804c86127..66f0483efb03 100644
--- a/drivers/misc/lis3lv02d/lis3lv02d_i2c.c
+++ b/drivers/misc/lis3lv02d/lis3lv02d_i2c.c
@@ -114,7 +114,7 @@ static struct of_device_id lis3lv02d_i2c_dt_ids[] = {
114MODULE_DEVICE_TABLE(of, lis3lv02d_i2c_dt_ids); 114MODULE_DEVICE_TABLE(of, lis3lv02d_i2c_dt_ids);
115#endif 115#endif
116 116
117static int __devinit lis3lv02d_i2c_probe(struct i2c_client *client, 117static int lis3lv02d_i2c_probe(struct i2c_client *client,
118 const struct i2c_device_id *id) 118 const struct i2c_device_id *id)
119{ 119{
120 int ret = 0; 120 int ret = 0;
diff --git a/drivers/misc/lis3lv02d/lis3lv02d_spi.c b/drivers/misc/lis3lv02d/lis3lv02d_spi.c
index 0e415c31e035..66a751d2ed53 100644
--- a/drivers/misc/lis3lv02d/lis3lv02d_spi.c
+++ b/drivers/misc/lis3lv02d/lis3lv02d_spi.c
@@ -69,7 +69,7 @@ static struct of_device_id lis302dl_spi_dt_ids[] = {
69MODULE_DEVICE_TABLE(of, lis302dl_spi_dt_ids); 69MODULE_DEVICE_TABLE(of, lis302dl_spi_dt_ids);
70#endif 70#endif
71 71
72static int __devinit lis302dl_spi_probe(struct spi_device *spi) 72static int lis302dl_spi_probe(struct spi_device *spi)
73{ 73{
74 int ret; 74 int ret;
75 75
diff --git a/drivers/misc/mei/main.c b/drivers/misc/mei/main.c
index f432b8d7e19b..4782c582ae38 100644
--- a/drivers/misc/mei/main.c
+++ b/drivers/misc/mei/main.c
@@ -743,7 +743,7 @@ static struct miscdevice mei_misc_device = {
743 * 743 *
744 * returns true if ME Interface is valid, false otherwise 744 * returns true if ME Interface is valid, false otherwise
745 */ 745 */
746static bool __devinit mei_quirk_probe(struct pci_dev *pdev, 746static bool mei_quirk_probe(struct pci_dev *pdev,
747 const struct pci_device_id *ent) 747 const struct pci_device_id *ent)
748{ 748{
749 u32 reg; 749 u32 reg;
@@ -765,7 +765,7 @@ static bool __devinit mei_quirk_probe(struct pci_dev *pdev,
765 * 765 *
766 * returns 0 on success, <0 on failure. 766 * returns 0 on success, <0 on failure.
767 */ 767 */
768static int __devinit mei_probe(struct pci_dev *pdev, 768static int mei_probe(struct pci_dev *pdev,
769 const struct pci_device_id *ent) 769 const struct pci_device_id *ent)
770{ 770{
771 struct mei_device *dev; 771 struct mei_device *dev;
diff --git a/drivers/misc/pch_phub.c b/drivers/misc/pch_phub.c
index 5581774393c8..3896cff2579f 100644
--- a/drivers/misc/pch_phub.c
+++ b/drivers/misc/pch_phub.c
@@ -666,7 +666,7 @@ static struct bin_attribute pch_bin_attr = {
666 .write = pch_phub_bin_write, 666 .write = pch_phub_bin_write,
667}; 667};
668 668
669static int __devinit pch_phub_probe(struct pci_dev *pdev, 669static int pch_phub_probe(struct pci_dev *pdev,
670 const struct pci_device_id *id) 670 const struct pci_device_id *id)
671{ 671{
672 int retval; 672 int retval;
diff --git a/drivers/misc/phantom.c b/drivers/misc/phantom.c
index 79038e9ced0f..394150df2afe 100644
--- a/drivers/misc/phantom.c
+++ b/drivers/misc/phantom.c
@@ -324,7 +324,7 @@ static irqreturn_t phantom_isr(int irq, void *data)
324 * Init and deinit driver 324 * Init and deinit driver
325 */ 325 */
326 326
327static unsigned int __devinit phantom_get_free(void) 327static unsigned int phantom_get_free(void)
328{ 328{
329 unsigned int i; 329 unsigned int i;
330 330
@@ -335,7 +335,7 @@ static unsigned int __devinit phantom_get_free(void)
335 return i; 335 return i;
336} 336}
337 337
338static int __devinit phantom_probe(struct pci_dev *pdev, 338static int phantom_probe(struct pci_dev *pdev,
339 const struct pci_device_id *pci_id) 339 const struct pci_device_id *pci_id)
340{ 340{
341 struct phantom_device *pht; 341 struct phantom_device *pht;
diff --git a/drivers/misc/pti.c b/drivers/misc/pti.c
index 3c5d74638eaf..e1a898e97f7c 100644
--- a/drivers/misc/pti.c
+++ b/drivers/misc/pti.c
@@ -796,7 +796,7 @@ static const struct tty_port_operations tty_port_ops = {
796 * 0 for success 796 * 0 for success
797 * otherwise, error 797 * otherwise, error
798 */ 798 */
799static int __devinit pti_pci_probe(struct pci_dev *pdev, 799static int pti_pci_probe(struct pci_dev *pdev,
800 const struct pci_device_id *ent) 800 const struct pci_device_id *ent)
801{ 801{
802 unsigned int a; 802 unsigned int a;
diff --git a/drivers/misc/spear13xx_pcie_gadget.c b/drivers/misc/spear13xx_pcie_gadget.c
index 123ed98eec3e..7850320462fb 100644
--- a/drivers/misc/spear13xx_pcie_gadget.c
+++ b/drivers/misc/spear13xx_pcie_gadget.c
@@ -711,7 +711,7 @@ static void spear13xx_pcie_device_init(struct spear_pcie_gadget_config *config)
711 spear_dbi_write_reg(config, PCI_INTERRUPT_LINE, 1, 1); 711 spear_dbi_write_reg(config, PCI_INTERRUPT_LINE, 1, 1);
712} 712}
713 713
714static int __devinit spear_pcie_gadget_probe(struct platform_device *pdev) 714static int spear_pcie_gadget_probe(struct platform_device *pdev)
715{ 715{
716 struct resource *res0, *res1; 716 struct resource *res0, *res1;
717 unsigned int status = 0; 717 unsigned int status = 0;
diff --git a/drivers/misc/ti_dac7512.c b/drivers/misc/ti_dac7512.c
index 85989ca7ad25..1222f86dfda9 100644
--- a/drivers/misc/ti_dac7512.c
+++ b/drivers/misc/ti_dac7512.c
@@ -54,7 +54,7 @@ static const struct attribute_group dac7512_attr_group = {
54 .attrs = dac7512_attributes, 54 .attrs = dac7512_attributes,
55}; 55};
56 56
57static int __devinit dac7512_probe(struct spi_device *spi) 57static int dac7512_probe(struct spi_device *spi)
58{ 58{
59 int ret; 59 int ret;
60 60
diff --git a/drivers/misc/tsl2550.c b/drivers/misc/tsl2550.c
index 09ffb0b705f3..18bce70b30f2 100644
--- a/drivers/misc/tsl2550.c
+++ b/drivers/misc/tsl2550.c
@@ -347,7 +347,7 @@ static int tsl2550_init_client(struct i2c_client *client)
347 */ 347 */
348 348
349static struct i2c_driver tsl2550_driver; 349static struct i2c_driver tsl2550_driver;
350static int __devinit tsl2550_probe(struct i2c_client *client, 350static int tsl2550_probe(struct i2c_client *client,
351 const struct i2c_device_id *id) 351 const struct i2c_device_id *id)
352{ 352{
353 struct i2c_adapter *adapter = to_i2c_adapter(client->dev.parent); 353 struct i2c_adapter *adapter = to_i2c_adapter(client->dev.parent);