aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/input/gameport/emu10k1-gp.c2
-rw-r--r--drivers/input/gameport/fm801-gp.c2
-rw-r--r--drivers/input/joystick/as5011.c2
-rw-r--r--drivers/input/joystick/maplecontrol.c2
-rw-r--r--drivers/input/keyboard/adp5520-keys.c2
-rw-r--r--drivers/input/keyboard/adp5588-keys.c4
-rw-r--r--drivers/input/keyboard/adp5589-keys.c4
-rw-r--r--drivers/input/keyboard/bf54x-keys.c2
-rw-r--r--drivers/input/keyboard/davinci_keyscan.c2
-rw-r--r--drivers/input/keyboard/ep93xx_keypad.c2
-rw-r--r--drivers/input/keyboard/gpio_keys.c2
-rw-r--r--drivers/input/keyboard/gpio_keys_polled.c2
-rw-r--r--drivers/input/keyboard/hilkbd.c4
-rw-r--r--drivers/input/keyboard/imx_keypad.c2
-rw-r--r--drivers/input/keyboard/jornada680_kbd.c2
-rw-r--r--drivers/input/keyboard/jornada720_kbd.c2
-rw-r--r--drivers/input/keyboard/lm8323.c2
-rw-r--r--drivers/input/keyboard/lm8333.c2
-rw-r--r--drivers/input/keyboard/locomokbd.c2
-rw-r--r--drivers/input/keyboard/lpc32xx-keys.c2
-rw-r--r--drivers/input/keyboard/matrix_keypad.c2
-rw-r--r--drivers/input/keyboard/max7359_keypad.c2
-rw-r--r--drivers/input/keyboard/mcs_touchkey.c2
-rw-r--r--drivers/input/keyboard/mpr121_touchkey.c2
-rw-r--r--drivers/input/keyboard/nomadik-ske-keypad.c2
-rw-r--r--drivers/input/keyboard/omap-keypad.c2
-rw-r--r--drivers/input/keyboard/omap4-keypad.c2
-rw-r--r--drivers/input/keyboard/opencores-kbd.c2
-rw-r--r--drivers/input/keyboard/pmic8xxx-keypad.c2
-rw-r--r--drivers/input/keyboard/pxa27x_keypad.c2
-rw-r--r--drivers/input/keyboard/pxa930_rotary.c2
-rw-r--r--drivers/input/keyboard/qt1070.c2
-rw-r--r--drivers/input/keyboard/qt2160.c2
-rw-r--r--drivers/input/keyboard/samsung-keypad.c2
-rw-r--r--drivers/input/keyboard/sh_keysc.c2
-rw-r--r--drivers/input/keyboard/spear-keyboard.c2
-rw-r--r--drivers/input/keyboard/stmpe-keypad.c2
-rw-r--r--drivers/input/keyboard/tc3589x-keypad.c2
-rw-r--r--drivers/input/keyboard/tca6416-keypad.c2
-rw-r--r--drivers/input/keyboard/tca8418_keypad.c2
-rw-r--r--drivers/input/keyboard/tegra-kbc.c2
-rw-r--r--drivers/input/keyboard/tnetv107x-keypad.c2
-rw-r--r--drivers/input/keyboard/twl4030_keypad.c2
-rw-r--r--drivers/input/keyboard/w90p910_keypad.c2
-rw-r--r--drivers/input/misc/88pm80x_onkey.c2
-rw-r--r--drivers/input/misc/88pm860x_onkey.c2
-rw-r--r--drivers/input/misc/ab8500-ponkey.c2
-rw-r--r--drivers/input/misc/ad714x-i2c.c2
-rw-r--r--drivers/input/misc/ad714x-spi.c2
-rw-r--r--drivers/input/misc/adxl34x-i2c.c2
-rw-r--r--drivers/input/misc/adxl34x-spi.c2
-rw-r--r--drivers/input/misc/bfin_rotary.c2
-rw-r--r--drivers/input/misc/bma150.c2
-rw-r--r--drivers/input/misc/cma3000_d0x_i2c.c2
-rw-r--r--drivers/input/misc/cobalt_btns.c2
-rw-r--r--drivers/input/misc/da9052_onkey.c2
-rw-r--r--drivers/input/misc/da9055_onkey.c2
-rw-r--r--drivers/input/misc/dm355evm_keys.c2
-rw-r--r--drivers/input/misc/gp2ap002a00f.c2
-rw-r--r--drivers/input/misc/gpio_tilt_polled.c2
-rw-r--r--drivers/input/misc/ixp4xx-beeper.c2
-rw-r--r--drivers/input/misc/kxtj9.c4
-rw-r--r--drivers/input/misc/m68kspkr.c2
-rw-r--r--drivers/input/misc/max8925_onkey.c2
-rw-r--r--drivers/input/misc/max8997_haptic.c2
-rw-r--r--drivers/input/misc/mc13783-pwrbutton.c2
-rw-r--r--drivers/input/misc/mma8450.c2
-rw-r--r--drivers/input/misc/mpu3050.c2
-rw-r--r--drivers/input/misc/pcap_keys.c2
-rw-r--r--drivers/input/misc/pcf50633-input.c2
-rw-r--r--drivers/input/misc/pcf8574_keypad.c2
-rw-r--r--drivers/input/misc/pcspkr.c2
-rw-r--r--drivers/input/misc/pm8xxx-vibrator.c2
-rw-r--r--drivers/input/misc/pmic8xxx-pwrkey.c2
-rw-r--r--drivers/input/misc/pwm-beeper.c2
-rw-r--r--drivers/input/misc/rb532_button.c2
-rw-r--r--drivers/input/misc/retu-pwrbutton.c2
-rw-r--r--drivers/input/misc/rotary_encoder.c2
-rw-r--r--drivers/input/misc/sgi_btns.c2
-rw-r--r--drivers/input/misc/sparcspkr.c4
-rw-r--r--drivers/input/misc/twl4030-vibra.c2
-rw-r--r--drivers/input/misc/twl6040-vibra.c2
-rw-r--r--drivers/input/misc/wistron_btns.c4
-rw-r--r--drivers/input/misc/wm831x-on.c2
-rw-r--r--drivers/input/mouse/gpio_mouse.c2
-rw-r--r--drivers/input/mouse/maplemouse.c2
-rw-r--r--drivers/input/mouse/navpoint.c2
-rw-r--r--drivers/input/mouse/pxa930_trkball.c2
-rw-r--r--drivers/input/mouse/synaptics_i2c.c2
-rw-r--r--drivers/input/serio/altera_ps2.c2
-rw-r--r--drivers/input/serio/ambakmi.c2
-rw-r--r--drivers/input/serio/arc_ps2.c2
-rw-r--r--drivers/input/serio/ct82c710.c2
-rw-r--r--drivers/input/serio/gscps2.c2
-rw-r--r--drivers/input/serio/i8042-sparcio.h2
-rw-r--r--drivers/input/serio/i8042.c4
-rw-r--r--drivers/input/serio/maceps2.c2
-rw-r--r--drivers/input/serio/pcips2.c2
-rw-r--r--drivers/input/serio/q40kbd.c2
-rw-r--r--drivers/input/serio/rpckbd.c2
-rw-r--r--drivers/input/serio/sa1111ps2.c2
-rw-r--r--drivers/input/serio/xilinx_ps2.c2
-rw-r--r--drivers/input/touchscreen/88pm860x-ts.c2
-rw-r--r--drivers/input/touchscreen/ad7877.c2
-rw-r--r--drivers/input/touchscreen/ad7879-i2c.c2
-rw-r--r--drivers/input/touchscreen/ad7879-spi.c2
-rw-r--r--drivers/input/touchscreen/ads7846.c2
-rw-r--r--drivers/input/touchscreen/atmel_mxt_ts.c2
-rw-r--r--drivers/input/touchscreen/atmel_tsadcc.c2
-rw-r--r--drivers/input/touchscreen/auo-pixcir-ts.c2
-rw-r--r--drivers/input/touchscreen/bu21013_ts.c2
-rw-r--r--drivers/input/touchscreen/cy8ctmg110_ts.c2
-rw-r--r--drivers/input/touchscreen/cyttsp_i2c.c2
-rw-r--r--drivers/input/touchscreen/cyttsp_spi.c2
-rw-r--r--drivers/input/touchscreen/da9034-ts.c2
-rw-r--r--drivers/input/touchscreen/da9052_tsi.c2
-rw-r--r--drivers/input/touchscreen/edt-ft5x06.c4
-rw-r--r--drivers/input/touchscreen/eeti_ts.c2
-rw-r--r--drivers/input/touchscreen/egalax_ts.c2
-rw-r--r--drivers/input/touchscreen/htcpen.c2
-rw-r--r--drivers/input/touchscreen/ili210x.c2
-rw-r--r--drivers/input/touchscreen/intel-mid-touch.c2
-rw-r--r--drivers/input/touchscreen/jornada720_ts.c2
-rw-r--r--drivers/input/touchscreen/lpc32xx_ts.c2
-rw-r--r--drivers/input/touchscreen/max11801_ts.c2
-rw-r--r--drivers/input/touchscreen/mc13783_ts.c2
-rw-r--r--drivers/input/touchscreen/mcs5000_ts.c2
-rw-r--r--drivers/input/touchscreen/mms114.c2
-rw-r--r--drivers/input/touchscreen/pcap_ts.c2
-rw-r--r--drivers/input/touchscreen/pixcir_i2c_ts.c2
-rw-r--r--drivers/input/touchscreen/s3c2410_ts.c2
-rw-r--r--drivers/input/touchscreen/st1232.c2
-rw-r--r--drivers/input/touchscreen/stmpe-ts.c2
-rw-r--r--drivers/input/touchscreen/tnetv107x-ts.c2
-rw-r--r--drivers/input/touchscreen/tps6507x-ts.c2
-rw-r--r--drivers/input/touchscreen/tsc2005.c2
-rw-r--r--drivers/input/touchscreen/tsc2007.c2
-rw-r--r--drivers/input/touchscreen/ucb1400_ts.c2
-rw-r--r--drivers/input/touchscreen/w90p910_ts.c2
-rw-r--r--drivers/input/touchscreen/wacom_i2c.c2
-rw-r--r--drivers/input/touchscreen/wm831x-ts.c2
141 files changed, 149 insertions, 149 deletions
diff --git a/drivers/input/gameport/emu10k1-gp.c b/drivers/input/gameport/emu10k1-gp.c
index 786fa316c65f..fa7a95c1da0e 100644
--- a/drivers/input/gameport/emu10k1-gp.c
+++ b/drivers/input/gameport/emu10k1-gp.c
@@ -107,7 +107,7 @@ static int emu_probe(struct pci_dev *pdev, const struct pci_device_id *ent)
107 return error; 107 return error;
108} 108}
109 109
110static void __devexit emu_remove(struct pci_dev *pdev) 110static void emu_remove(struct pci_dev *pdev)
111{ 111{
112 struct emu *emu = pci_get_drvdata(pdev); 112 struct emu *emu = pci_get_drvdata(pdev);
113 113
diff --git a/drivers/input/gameport/fm801-gp.c b/drivers/input/gameport/fm801-gp.c
index b1705e17020f..ae912d3aee4e 100644
--- a/drivers/input/gameport/fm801-gp.c
+++ b/drivers/input/gameport/fm801-gp.c
@@ -129,7 +129,7 @@ static int fm801_gp_probe(struct pci_dev *pci, const struct pci_device_id *id)
129 return error; 129 return error;
130} 130}
131 131
132static void __devexit fm801_gp_remove(struct pci_dev *pci) 132static void fm801_gp_remove(struct pci_dev *pci)
133{ 133{
134 struct fm801_gp *gp = pci_get_drvdata(pci); 134 struct fm801_gp *gp = pci_get_drvdata(pci);
135 135
diff --git a/drivers/input/joystick/as5011.c b/drivers/input/joystick/as5011.c
index ad7673305d7d..121cd63d3334 100644
--- a/drivers/input/joystick/as5011.c
+++ b/drivers/input/joystick/as5011.c
@@ -341,7 +341,7 @@ err_free_mem:
341 return error; 341 return error;
342} 342}
343 343
344static int __devexit as5011_remove(struct i2c_client *client) 344static int as5011_remove(struct i2c_client *client)
345{ 345{
346 struct as5011_device *as5011 = i2c_get_clientdata(client); 346 struct as5011_device *as5011 = i2c_get_clientdata(client);
347 347
diff --git a/drivers/input/joystick/maplecontrol.c b/drivers/input/joystick/maplecontrol.c
index 5ff3cb4a6de3..59c10ec5a2a1 100644
--- a/drivers/input/joystick/maplecontrol.c
+++ b/drivers/input/joystick/maplecontrol.c
@@ -157,7 +157,7 @@ fail:
157 return error; 157 return error;
158} 158}
159 159
160static int __devexit remove_maple_controller(struct device *dev) 160static int remove_maple_controller(struct device *dev)
161{ 161{
162 struct maple_device *mdev = to_maple_dev(dev); 162 struct maple_device *mdev = to_maple_dev(dev);
163 struct dc_pad *pad = maple_get_drvdata(mdev); 163 struct dc_pad *pad = maple_get_drvdata(mdev);
diff --git a/drivers/input/keyboard/adp5520-keys.c b/drivers/input/keyboard/adp5520-keys.c
index 64de9652398f..ef26b17fb159 100644
--- a/drivers/input/keyboard/adp5520-keys.c
+++ b/drivers/input/keyboard/adp5520-keys.c
@@ -182,7 +182,7 @@ err:
182 return ret; 182 return ret;
183} 183}
184 184
185static int __devexit adp5520_keys_remove(struct platform_device *pdev) 185static int adp5520_keys_remove(struct platform_device *pdev)
186{ 186{
187 struct adp5520_keys *dev = platform_get_drvdata(pdev); 187 struct adp5520_keys *dev = platform_get_drvdata(pdev);
188 188
diff --git a/drivers/input/keyboard/adp5588-keys.c b/drivers/input/keyboard/adp5588-keys.c
index a20fe70ffa83..dbd2047f1641 100644
--- a/drivers/input/keyboard/adp5588-keys.c
+++ b/drivers/input/keyboard/adp5588-keys.c
@@ -224,7 +224,7 @@ static int adp5588_gpio_add(struct adp5588_kpad *kpad)
224 return 0; 224 return 0;
225} 225}
226 226
227static void __devexit adp5588_gpio_remove(struct adp5588_kpad *kpad) 227static void adp5588_gpio_remove(struct adp5588_kpad *kpad)
228{ 228{
229 struct device *dev = &kpad->client->dev; 229 struct device *dev = &kpad->client->dev;
230 const struct adp5588_kpad_platform_data *pdata = dev->platform_data; 230 const struct adp5588_kpad_platform_data *pdata = dev->platform_data;
@@ -587,7 +587,7 @@ static int adp5588_probe(struct i2c_client *client,
587 return error; 587 return error;
588} 588}
589 589
590static int __devexit adp5588_remove(struct i2c_client *client) 590static int adp5588_remove(struct i2c_client *client)
591{ 591{
592 struct adp5588_kpad *kpad = i2c_get_clientdata(client); 592 struct adp5588_kpad *kpad = i2c_get_clientdata(client);
593 593
diff --git a/drivers/input/keyboard/adp5589-keys.c b/drivers/input/keyboard/adp5589-keys.c
index 8f591da17deb..67d12b3427c9 100644
--- a/drivers/input/keyboard/adp5589-keys.c
+++ b/drivers/input/keyboard/adp5589-keys.c
@@ -550,7 +550,7 @@ static int adp5589_gpio_add(struct adp5589_kpad *kpad)
550 return 0; 550 return 0;
551} 551}
552 552
553static void __devexit adp5589_gpio_remove(struct adp5589_kpad *kpad) 553static void adp5589_gpio_remove(struct adp5589_kpad *kpad)
554{ 554{
555 struct device *dev = &kpad->client->dev; 555 struct device *dev = &kpad->client->dev;
556 const struct adp5589_kpad_platform_data *pdata = dev->platform_data; 556 const struct adp5589_kpad_platform_data *pdata = dev->platform_data;
@@ -1044,7 +1044,7 @@ err_free_mem:
1044 return error; 1044 return error;
1045} 1045}
1046 1046
1047static int __devexit adp5589_remove(struct i2c_client *client) 1047static int adp5589_remove(struct i2c_client *client)
1048{ 1048{
1049 struct adp5589_kpad *kpad = i2c_get_clientdata(client); 1049 struct adp5589_kpad *kpad = i2c_get_clientdata(client);
1050 1050
diff --git a/drivers/input/keyboard/bf54x-keys.c b/drivers/input/keyboard/bf54x-keys.c
index 8f3c2b665382..20b9fa91fb9e 100644
--- a/drivers/input/keyboard/bf54x-keys.c
+++ b/drivers/input/keyboard/bf54x-keys.c
@@ -331,7 +331,7 @@ out:
331 return error; 331 return error;
332} 332}
333 333
334static int __devexit bfin_kpad_remove(struct platform_device *pdev) 334static int bfin_kpad_remove(struct platform_device *pdev)
335{ 335{
336 struct bfin_kpad_platform_data *pdata = pdev->dev.platform_data; 336 struct bfin_kpad_platform_data *pdata = pdev->dev.platform_data;
337 struct bf54x_kpad *bf54x_kpad = platform_get_drvdata(pdev); 337 struct bf54x_kpad *bf54x_kpad = platform_get_drvdata(pdev);
diff --git a/drivers/input/keyboard/davinci_keyscan.c b/drivers/input/keyboard/davinci_keyscan.c
index 8e4b438ddc8d..4e4e453ea15e 100644
--- a/drivers/input/keyboard/davinci_keyscan.c
+++ b/drivers/input/keyboard/davinci_keyscan.c
@@ -303,7 +303,7 @@ fail1:
303 return error; 303 return error;
304} 304}
305 305
306static int __devexit davinci_ks_remove(struct platform_device *pdev) 306static int davinci_ks_remove(struct platform_device *pdev)
307{ 307{
308 struct davinci_ks *davinci_ks = platform_get_drvdata(pdev); 308 struct davinci_ks *davinci_ks = platform_get_drvdata(pdev);
309 309
diff --git a/drivers/input/keyboard/ep93xx_keypad.c b/drivers/input/keyboard/ep93xx_keypad.c
index 30c00082ed90..9857e8fd0987 100644
--- a/drivers/input/keyboard/ep93xx_keypad.c
+++ b/drivers/input/keyboard/ep93xx_keypad.c
@@ -346,7 +346,7 @@ failed_free:
346 return err; 346 return err;
347} 347}
348 348
349static int __devexit ep93xx_keypad_remove(struct platform_device *pdev) 349static int ep93xx_keypad_remove(struct platform_device *pdev)
350{ 350{
351 struct ep93xx_keypad *keypad = platform_get_drvdata(pdev); 351 struct ep93xx_keypad *keypad = platform_get_drvdata(pdev);
352 struct resource *res; 352 struct resource *res;
diff --git a/drivers/input/keyboard/gpio_keys.c b/drivers/input/keyboard/gpio_keys.c
index c714c585c307..1a5cb6f34f4c 100644
--- a/drivers/input/keyboard/gpio_keys.c
+++ b/drivers/input/keyboard/gpio_keys.c
@@ -760,7 +760,7 @@ static int gpio_keys_probe(struct platform_device *pdev)
760 return error; 760 return error;
761} 761}
762 762
763static int __devexit gpio_keys_remove(struct platform_device *pdev) 763static int gpio_keys_remove(struct platform_device *pdev)
764{ 764{
765 struct gpio_keys_drvdata *ddata = platform_get_drvdata(pdev); 765 struct gpio_keys_drvdata *ddata = platform_get_drvdata(pdev);
766 struct input_dev *input = ddata->input; 766 struct input_dev *input = ddata->input;
diff --git a/drivers/input/keyboard/gpio_keys_polled.c b/drivers/input/keyboard/gpio_keys_polled.c
index 8c09ce244aa2..32e508781ddc 100644
--- a/drivers/input/keyboard/gpio_keys_polled.c
+++ b/drivers/input/keyboard/gpio_keys_polled.c
@@ -328,7 +328,7 @@ err_free_pdata:
328 return error; 328 return error;
329} 329}
330 330
331static int __devexit gpio_keys_polled_remove(struct platform_device *pdev) 331static int gpio_keys_polled_remove(struct platform_device *pdev)
332{ 332{
333 struct gpio_keys_polled_dev *bdev = platform_get_drvdata(pdev); 333 struct gpio_keys_polled_dev *bdev = platform_get_drvdata(pdev);
334 const struct gpio_keys_platform_data *pdata = bdev->pdata; 334 const struct gpio_keys_platform_data *pdata = bdev->pdata;
diff --git a/drivers/input/keyboard/hilkbd.c b/drivers/input/keyboard/hilkbd.c
index a5da05ac6094..198dc07a1be5 100644
--- a/drivers/input/keyboard/hilkbd.c
+++ b/drivers/input/keyboard/hilkbd.c
@@ -286,7 +286,7 @@ err1:
286 return err; 286 return err;
287} 287}
288 288
289static void __devexit hil_keyb_exit(void) 289static void hil_keyb_exit(void)
290{ 290{
291 if (HIL_IRQ) 291 if (HIL_IRQ)
292 free_irq(HIL_IRQ, hil_dev.dev_id); 292 free_irq(HIL_IRQ, hil_dev.dev_id);
@@ -320,7 +320,7 @@ static int hil_probe_chip(struct parisc_device *dev)
320 return hil_keyb_init(); 320 return hil_keyb_init();
321} 321}
322 322
323static int __devexit hil_remove_chip(struct parisc_device *dev) 323static int hil_remove_chip(struct parisc_device *dev)
324{ 324{
325 hil_keyb_exit(); 325 hil_keyb_exit();
326 326
diff --git a/drivers/input/keyboard/imx_keypad.c b/drivers/input/keyboard/imx_keypad.c
index d4d95428c276..7ad74517654b 100644
--- a/drivers/input/keyboard/imx_keypad.c
+++ b/drivers/input/keyboard/imx_keypad.c
@@ -554,7 +554,7 @@ failed_rel_mem:
554 return error; 554 return error;
555} 555}
556 556
557static int __devexit imx_keypad_remove(struct platform_device *pdev) 557static int imx_keypad_remove(struct platform_device *pdev)
558{ 558{
559 struct imx_keypad *keypad = platform_get_drvdata(pdev); 559 struct imx_keypad *keypad = platform_get_drvdata(pdev);
560 struct resource *res; 560 struct resource *res;
diff --git a/drivers/input/keyboard/jornada680_kbd.c b/drivers/input/keyboard/jornada680_kbd.c
index eac650c26ad4..74e75a6e8deb 100644
--- a/drivers/input/keyboard/jornada680_kbd.c
+++ b/drivers/input/keyboard/jornada680_kbd.c
@@ -240,7 +240,7 @@ static int jornada680kbd_probe(struct platform_device *pdev)
240 240
241} 241}
242 242
243static int __devexit jornada680kbd_remove(struct platform_device *pdev) 243static int jornada680kbd_remove(struct platform_device *pdev)
244{ 244{
245 struct jornadakbd *jornadakbd = platform_get_drvdata(pdev); 245 struct jornadakbd *jornadakbd = platform_get_drvdata(pdev);
246 246
diff --git a/drivers/input/keyboard/jornada720_kbd.c b/drivers/input/keyboard/jornada720_kbd.c
index 2f08a03e7cba..5ceef636df2f 100644
--- a/drivers/input/keyboard/jornada720_kbd.c
+++ b/drivers/input/keyboard/jornada720_kbd.c
@@ -152,7 +152,7 @@ static int jornada720_kbd_probe(struct platform_device *pdev)
152 return err; 152 return err;
153}; 153};
154 154
155static int __devexit jornada720_kbd_remove(struct platform_device *pdev) 155static int jornada720_kbd_remove(struct platform_device *pdev)
156{ 156{
157 struct jornadakbd *jornadakbd = platform_get_drvdata(pdev); 157 struct jornadakbd *jornadakbd = platform_get_drvdata(pdev);
158 158
diff --git a/drivers/input/keyboard/lm8323.c b/drivers/input/keyboard/lm8323.c
index ee0116b0a427..93c812662134 100644
--- a/drivers/input/keyboard/lm8323.c
+++ b/drivers/input/keyboard/lm8323.c
@@ -764,7 +764,7 @@ fail1:
764 return err; 764 return err;
765} 765}
766 766
767static int __devexit lm8323_remove(struct i2c_client *client) 767static int lm8323_remove(struct i2c_client *client)
768{ 768{
769 struct lm8323_chip *lm = i2c_get_clientdata(client); 769 struct lm8323_chip *lm = i2c_get_clientdata(client);
770 int i; 770 int i;
diff --git a/drivers/input/keyboard/lm8333.c b/drivers/input/keyboard/lm8333.c
index 9fc03727d61d..5a8ca35dc9af 100644
--- a/drivers/input/keyboard/lm8333.c
+++ b/drivers/input/keyboard/lm8333.c
@@ -202,7 +202,7 @@ static int lm8333_probe(struct i2c_client *client,
202 return err; 202 return err;
203} 203}
204 204
205static int __devexit lm8333_remove(struct i2c_client *client) 205static int lm8333_remove(struct i2c_client *client)
206{ 206{
207 struct lm8333 *lm8333 = i2c_get_clientdata(client); 207 struct lm8333 *lm8333 = i2c_get_clientdata(client);
208 208
diff --git a/drivers/input/keyboard/locomokbd.c b/drivers/input/keyboard/locomokbd.c
index e2892466f3cc..c94d610b9d78 100644
--- a/drivers/input/keyboard/locomokbd.c
+++ b/drivers/input/keyboard/locomokbd.c
@@ -321,7 +321,7 @@ static int locomokbd_probe(struct locomo_dev *dev)
321 return err; 321 return err;
322} 322}
323 323
324static int __devexit locomokbd_remove(struct locomo_dev *dev) 324static int locomokbd_remove(struct locomo_dev *dev)
325{ 325{
326 struct locomokbd *locomokbd = locomo_get_drvdata(dev); 326 struct locomokbd *locomokbd = locomo_get_drvdata(dev);
327 327
diff --git a/drivers/input/keyboard/lpc32xx-keys.c b/drivers/input/keyboard/lpc32xx-keys.c
index 72f8a0be82e1..1b8add6cfb9d 100644
--- a/drivers/input/keyboard/lpc32xx-keys.c
+++ b/drivers/input/keyboard/lpc32xx-keys.c
@@ -310,7 +310,7 @@ err_free_mem:
310 return error; 310 return error;
311} 311}
312 312
313static int __devexit lpc32xx_kscan_remove(struct platform_device *pdev) 313static int lpc32xx_kscan_remove(struct platform_device *pdev)
314{ 314{
315 struct lpc32xx_kscan_drv *kscandat = platform_get_drvdata(pdev); 315 struct lpc32xx_kscan_drv *kscandat = platform_get_drvdata(pdev);
316 316
diff --git a/drivers/input/keyboard/matrix_keypad.c b/drivers/input/keyboard/matrix_keypad.c
index b9d67c2f30d6..f4ff0dda7597 100644
--- a/drivers/input/keyboard/matrix_keypad.c
+++ b/drivers/input/keyboard/matrix_keypad.c
@@ -539,7 +539,7 @@ err_free_mem:
539 return err; 539 return err;
540} 540}
541 541
542static int __devexit matrix_keypad_remove(struct platform_device *pdev) 542static int matrix_keypad_remove(struct platform_device *pdev)
543{ 543{
544 struct matrix_keypad *keypad = platform_get_drvdata(pdev); 544 struct matrix_keypad *keypad = platform_get_drvdata(pdev);
545 545
diff --git a/drivers/input/keyboard/max7359_keypad.c b/drivers/input/keyboard/max7359_keypad.c
index 98b8ff10e6f1..7c7af2b01e65 100644
--- a/drivers/input/keyboard/max7359_keypad.c
+++ b/drivers/input/keyboard/max7359_keypad.c
@@ -260,7 +260,7 @@ failed_free_mem:
260 return error; 260 return error;
261} 261}
262 262
263static int __devexit max7359_remove(struct i2c_client *client) 263static int max7359_remove(struct i2c_client *client)
264{ 264{
265 struct max7359_keypad *keypad = i2c_get_clientdata(client); 265 struct max7359_keypad *keypad = i2c_get_clientdata(client);
266 266
diff --git a/drivers/input/keyboard/mcs_touchkey.c b/drivers/input/keyboard/mcs_touchkey.c
index e729774cecd8..7c236f9c6a51 100644
--- a/drivers/input/keyboard/mcs_touchkey.c
+++ b/drivers/input/keyboard/mcs_touchkey.c
@@ -200,7 +200,7 @@ err_free_mem:
200 return error; 200 return error;
201} 201}
202 202
203static int __devexit mcs_touchkey_remove(struct i2c_client *client) 203static int mcs_touchkey_remove(struct i2c_client *client)
204{ 204{
205 struct mcs_touchkey_data *data = i2c_get_clientdata(client); 205 struct mcs_touchkey_data *data = i2c_get_clientdata(client);
206 206
diff --git a/drivers/input/keyboard/mpr121_touchkey.c b/drivers/input/keyboard/mpr121_touchkey.c
index 854486c347fe..f7f3e9a9fd3f 100644
--- a/drivers/input/keyboard/mpr121_touchkey.c
+++ b/drivers/input/keyboard/mpr121_touchkey.c
@@ -272,7 +272,7 @@ err_free_mem:
272 return error; 272 return error;
273} 273}
274 274
275static int __devexit mpr_touchkey_remove(struct i2c_client *client) 275static int mpr_touchkey_remove(struct i2c_client *client)
276{ 276{
277 struct mpr121_touchkey *mpr121 = i2c_get_clientdata(client); 277 struct mpr121_touchkey *mpr121 = i2c_get_clientdata(client);
278 278
diff --git a/drivers/input/keyboard/nomadik-ske-keypad.c b/drivers/input/keyboard/nomadik-ske-keypad.c
index 2304a8192cf7..0e6a8151fee3 100644
--- a/drivers/input/keyboard/nomadik-ske-keypad.c
+++ b/drivers/input/keyboard/nomadik-ske-keypad.c
@@ -366,7 +366,7 @@ err_free_mem:
366 return error; 366 return error;
367} 367}
368 368
369static int __devexit ske_keypad_remove(struct platform_device *pdev) 369static int ske_keypad_remove(struct platform_device *pdev)
370{ 370{
371 struct ske_keypad *keypad = platform_get_drvdata(pdev); 371 struct ske_keypad *keypad = platform_get_drvdata(pdev);
372 struct resource *res = platform_get_resource(pdev, IORESOURCE_MEM, 0); 372 struct resource *res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
diff --git a/drivers/input/keyboard/omap-keypad.c b/drivers/input/keyboard/omap-keypad.c
index ffb8c6c1c5dc..d0d5226d9cd4 100644
--- a/drivers/input/keyboard/omap-keypad.c
+++ b/drivers/input/keyboard/omap-keypad.c
@@ -357,7 +357,7 @@ err2:
357 return -EINVAL; 357 return -EINVAL;
358} 358}
359 359
360static int __devexit omap_kp_remove(struct platform_device *pdev) 360static int omap_kp_remove(struct platform_device *pdev)
361{ 361{
362 struct omap_kp *omap_kp = platform_get_drvdata(pdev); 362 struct omap_kp *omap_kp = platform_get_drvdata(pdev);
363 363
diff --git a/drivers/input/keyboard/omap4-keypad.c b/drivers/input/keyboard/omap4-keypad.c
index c16a3229968c..e25b022692cd 100644
--- a/drivers/input/keyboard/omap4-keypad.c
+++ b/drivers/input/keyboard/omap4-keypad.c
@@ -406,7 +406,7 @@ err_free_keypad:
406 return error; 406 return error;
407} 407}
408 408
409static int __devexit omap4_keypad_remove(struct platform_device *pdev) 409static int omap4_keypad_remove(struct platform_device *pdev)
410{ 410{
411 struct omap4_keypad *keypad_data = platform_get_drvdata(pdev); 411 struct omap4_keypad *keypad_data = platform_get_drvdata(pdev);
412 struct resource *res; 412 struct resource *res;
diff --git a/drivers/input/keyboard/opencores-kbd.c b/drivers/input/keyboard/opencores-kbd.c
index ddc1c39c0c31..7ac5f174c6f7 100644
--- a/drivers/input/keyboard/opencores-kbd.c
+++ b/drivers/input/keyboard/opencores-kbd.c
@@ -139,7 +139,7 @@ static int opencores_kbd_probe(struct platform_device *pdev)
139 return error; 139 return error;
140} 140}
141 141
142static int __devexit opencores_kbd_remove(struct platform_device *pdev) 142static int opencores_kbd_remove(struct platform_device *pdev)
143{ 143{
144 struct opencores_kbd *opencores_kbd = platform_get_drvdata(pdev); 144 struct opencores_kbd *opencores_kbd = platform_get_drvdata(pdev);
145 145
diff --git a/drivers/input/keyboard/pmic8xxx-keypad.c b/drivers/input/keyboard/pmic8xxx-keypad.c
index fa177aba5dbe..74339e139d43 100644
--- a/drivers/input/keyboard/pmic8xxx-keypad.c
+++ b/drivers/input/keyboard/pmic8xxx-keypad.c
@@ -712,7 +712,7 @@ err_alloc_device:
712 return rc; 712 return rc;
713} 713}
714 714
715static int __devexit pmic8xxx_kp_remove(struct platform_device *pdev) 715static int pmic8xxx_kp_remove(struct platform_device *pdev)
716{ 716{
717 struct pmic8xxx_kp *kp = platform_get_drvdata(pdev); 717 struct pmic8xxx_kp *kp = platform_get_drvdata(pdev);
718 718
diff --git a/drivers/input/keyboard/pxa27x_keypad.c b/drivers/input/keyboard/pxa27x_keypad.c
index 91778fee8b99..5330d8fbf6c0 100644
--- a/drivers/input/keyboard/pxa27x_keypad.c
+++ b/drivers/input/keyboard/pxa27x_keypad.c
@@ -595,7 +595,7 @@ failed_free:
595 return error; 595 return error;
596} 596}
597 597
598static int __devexit pxa27x_keypad_remove(struct platform_device *pdev) 598static int pxa27x_keypad_remove(struct platform_device *pdev)
599{ 599{
600 struct pxa27x_keypad *keypad = platform_get_drvdata(pdev); 600 struct pxa27x_keypad *keypad = platform_get_drvdata(pdev);
601 struct resource *res; 601 struct resource *res;
diff --git a/drivers/input/keyboard/pxa930_rotary.c b/drivers/input/keyboard/pxa930_rotary.c
index 60797c22322d..bcad95be73aa 100644
--- a/drivers/input/keyboard/pxa930_rotary.c
+++ b/drivers/input/keyboard/pxa930_rotary.c
@@ -174,7 +174,7 @@ failed_free:
174 return err; 174 return err;
175} 175}
176 176
177static int __devexit pxa930_rotary_remove(struct platform_device *pdev) 177static int pxa930_rotary_remove(struct platform_device *pdev)
178{ 178{
179 struct pxa930_rotary *r = platform_get_drvdata(pdev); 179 struct pxa930_rotary *r = platform_get_drvdata(pdev);
180 180
diff --git a/drivers/input/keyboard/qt1070.c b/drivers/input/keyboard/qt1070.c
index f9358e7d90bc..42b773b3125a 100644
--- a/drivers/input/keyboard/qt1070.c
+++ b/drivers/input/keyboard/qt1070.c
@@ -230,7 +230,7 @@ err_free_mem:
230 return err; 230 return err;
231} 231}
232 232
233static int __devexit qt1070_remove(struct i2c_client *client) 233static int qt1070_remove(struct i2c_client *client)
234{ 234{
235 struct qt1070_data *data = i2c_get_clientdata(client); 235 struct qt1070_data *data = i2c_get_clientdata(client);
236 236
diff --git a/drivers/input/keyboard/qt2160.c b/drivers/input/keyboard/qt2160.c
index 69a6a6ffdbe3..3dc2b0f27b0c 100644
--- a/drivers/input/keyboard/qt2160.c
+++ b/drivers/input/keyboard/qt2160.c
@@ -335,7 +335,7 @@ err_free_mem:
335 return error; 335 return error;
336} 336}
337 337
338static int __devexit qt2160_remove(struct i2c_client *client) 338static int qt2160_remove(struct i2c_client *client)
339{ 339{
340 struct qt2160_data *qt2160 = i2c_get_clientdata(client); 340 struct qt2160_data *qt2160 = i2c_get_clientdata(client);
341 341
diff --git a/drivers/input/keyboard/samsung-keypad.c b/drivers/input/keyboard/samsung-keypad.c
index 5c6a808ed62d..acc161966c3e 100644
--- a/drivers/input/keyboard/samsung-keypad.c
+++ b/drivers/input/keyboard/samsung-keypad.c
@@ -523,7 +523,7 @@ err_free_mem:
523 return error; 523 return error;
524} 524}
525 525
526static int __devexit samsung_keypad_remove(struct platform_device *pdev) 526static int samsung_keypad_remove(struct platform_device *pdev)
527{ 527{
528 struct samsung_keypad *keypad = platform_get_drvdata(pdev); 528 struct samsung_keypad *keypad = platform_get_drvdata(pdev);
529 529
diff --git a/drivers/input/keyboard/sh_keysc.c b/drivers/input/keyboard/sh_keysc.c
index ffa9adb23f21..fdb9eb2df380 100644
--- a/drivers/input/keyboard/sh_keysc.c
+++ b/drivers/input/keyboard/sh_keysc.c
@@ -272,7 +272,7 @@ static int sh_keysc_probe(struct platform_device *pdev)
272 return error; 272 return error;
273} 273}
274 274
275static int __devexit sh_keysc_remove(struct platform_device *pdev) 275static int sh_keysc_remove(struct platform_device *pdev)
276{ 276{
277 struct sh_keysc_priv *priv = platform_get_drvdata(pdev); 277 struct sh_keysc_priv *priv = platform_get_drvdata(pdev);
278 278
diff --git a/drivers/input/keyboard/spear-keyboard.c b/drivers/input/keyboard/spear-keyboard.c
index 3c503dae7b64..d70093bef740 100644
--- a/drivers/input/keyboard/spear-keyboard.c
+++ b/drivers/input/keyboard/spear-keyboard.c
@@ -279,7 +279,7 @@ static int spear_kbd_probe(struct platform_device *pdev)
279 return 0; 279 return 0;
280} 280}
281 281
282static int __devexit spear_kbd_remove(struct platform_device *pdev) 282static int spear_kbd_remove(struct platform_device *pdev)
283{ 283{
284 device_init_wakeup(&pdev->dev, 0); 284 device_init_wakeup(&pdev->dev, 0);
285 platform_set_drvdata(pdev, NULL); 285 platform_set_drvdata(pdev, NULL);
diff --git a/drivers/input/keyboard/stmpe-keypad.c b/drivers/input/keyboard/stmpe-keypad.c
index b3f917d73cd6..7bac0524900a 100644
--- a/drivers/input/keyboard/stmpe-keypad.c
+++ b/drivers/input/keyboard/stmpe-keypad.c
@@ -335,7 +335,7 @@ static int stmpe_keypad_probe(struct platform_device *pdev)
335 return 0; 335 return 0;
336} 336}
337 337
338static int __devexit stmpe_keypad_remove(struct platform_device *pdev) 338static int stmpe_keypad_remove(struct platform_device *pdev)
339{ 339{
340 struct stmpe_keypad *keypad = platform_get_drvdata(pdev); 340 struct stmpe_keypad *keypad = platform_get_drvdata(pdev);
341 341
diff --git a/drivers/input/keyboard/tc3589x-keypad.c b/drivers/input/keyboard/tc3589x-keypad.c
index 6d725d633aeb..2fb0d76a04c4 100644
--- a/drivers/input/keyboard/tc3589x-keypad.c
+++ b/drivers/input/keyboard/tc3589x-keypad.c
@@ -382,7 +382,7 @@ err_free_mem:
382 return error; 382 return error;
383} 383}
384 384
385static int __devexit tc3589x_keypad_remove(struct platform_device *pdev) 385static int tc3589x_keypad_remove(struct platform_device *pdev)
386{ 386{
387 struct tc_keypad *keypad = platform_get_drvdata(pdev); 387 struct tc_keypad *keypad = platform_get_drvdata(pdev);
388 int irq = platform_get_irq(pdev, 0); 388 int irq = platform_get_irq(pdev, 0);
diff --git a/drivers/input/keyboard/tca6416-keypad.c b/drivers/input/keyboard/tca6416-keypad.c
index 4f44579689a4..bfc832c35a7c 100644
--- a/drivers/input/keyboard/tca6416-keypad.c
+++ b/drivers/input/keyboard/tca6416-keypad.c
@@ -313,7 +313,7 @@ fail1:
313 return error; 313 return error;
314} 314}
315 315
316static int __devexit tca6416_keypad_remove(struct i2c_client *client) 316static int tca6416_keypad_remove(struct i2c_client *client)
317{ 317{
318 struct tca6416_keypad_chip *chip = i2c_get_clientdata(client); 318 struct tca6416_keypad_chip *chip = i2c_get_clientdata(client);
319 319
diff --git a/drivers/input/keyboard/tca8418_keypad.c b/drivers/input/keyboard/tca8418_keypad.c
index 6f970961f244..f1e966bdcff5 100644
--- a/drivers/input/keyboard/tca8418_keypad.c
+++ b/drivers/input/keyboard/tca8418_keypad.c
@@ -388,7 +388,7 @@ fail1:
388 return error; 388 return error;
389} 389}
390 390
391static int __devexit tca8418_keypad_remove(struct i2c_client *client) 391static int tca8418_keypad_remove(struct i2c_client *client)
392{ 392{
393 struct tca8418_keypad *keypad_data = i2c_get_clientdata(client); 393 struct tca8418_keypad *keypad_data = i2c_get_clientdata(client);
394 394
diff --git a/drivers/input/keyboard/tegra-kbc.c b/drivers/input/keyboard/tegra-kbc.c
index cf8ab689231b..c76f96872d31 100644
--- a/drivers/input/keyboard/tegra-kbc.c
+++ b/drivers/input/keyboard/tegra-kbc.c
@@ -838,7 +838,7 @@ err_free_pdata:
838 return err; 838 return err;
839} 839}
840 840
841static int __devexit tegra_kbc_remove(struct platform_device *pdev) 841static int tegra_kbc_remove(struct platform_device *pdev)
842{ 842{
843 struct tegra_kbc *kbc = platform_get_drvdata(pdev); 843 struct tegra_kbc *kbc = platform_get_drvdata(pdev);
844 struct resource *res; 844 struct resource *res;
diff --git a/drivers/input/keyboard/tnetv107x-keypad.c b/drivers/input/keyboard/tnetv107x-keypad.c
index 55cd0700af8c..ee1635011292 100644
--- a/drivers/input/keyboard/tnetv107x-keypad.c
+++ b/drivers/input/keyboard/tnetv107x-keypad.c
@@ -301,7 +301,7 @@ error_res:
301 return error; 301 return error;
302} 302}
303 303
304static int __devexit keypad_remove(struct platform_device *pdev) 304static int keypad_remove(struct platform_device *pdev)
305{ 305{
306 struct keypad_data *kp = platform_get_drvdata(pdev); 306 struct keypad_data *kp = platform_get_drvdata(pdev);
307 307
diff --git a/drivers/input/keyboard/twl4030_keypad.c b/drivers/input/keyboard/twl4030_keypad.c
index 78dd9f27dd87..04f84fd57173 100644
--- a/drivers/input/keyboard/twl4030_keypad.c
+++ b/drivers/input/keyboard/twl4030_keypad.c
@@ -432,7 +432,7 @@ err1:
432 return error; 432 return error;
433} 433}
434 434
435static int __devexit twl4030_kp_remove(struct platform_device *pdev) 435static int twl4030_kp_remove(struct platform_device *pdev)
436{ 436{
437 struct twl4030_keypad *kp = platform_get_drvdata(pdev); 437 struct twl4030_keypad *kp = platform_get_drvdata(pdev);
438 438
diff --git a/drivers/input/keyboard/w90p910_keypad.c b/drivers/input/keyboard/w90p910_keypad.c
index 7574e10ef097..ee163bee8cce 100644
--- a/drivers/input/keyboard/w90p910_keypad.c
+++ b/drivers/input/keyboard/w90p910_keypad.c
@@ -234,7 +234,7 @@ failed_free:
234 return error; 234 return error;
235} 235}
236 236
237static int __devexit w90p910_keypad_remove(struct platform_device *pdev) 237static int w90p910_keypad_remove(struct platform_device *pdev)
238{ 238{
239 struct w90p910_keypad *keypad = platform_get_drvdata(pdev); 239 struct w90p910_keypad *keypad = platform_get_drvdata(pdev);
240 struct resource *res; 240 struct resource *res;
diff --git a/drivers/input/misc/88pm80x_onkey.c b/drivers/input/misc/88pm80x_onkey.c
index 946edcadfb2e..ee43e5b7c881 100644
--- a/drivers/input/misc/88pm80x_onkey.c
+++ b/drivers/input/misc/88pm80x_onkey.c
@@ -139,7 +139,7 @@ out:
139 return err; 139 return err;
140} 140}
141 141
142static int __devexit pm80x_onkey_remove(struct platform_device *pdev) 142static int pm80x_onkey_remove(struct platform_device *pdev)
143{ 143{
144 struct pm80x_onkey_info *info = platform_get_drvdata(pdev); 144 struct pm80x_onkey_info *info = platform_get_drvdata(pdev);
145 145
diff --git a/drivers/input/misc/88pm860x_onkey.c b/drivers/input/misc/88pm860x_onkey.c
index 81af2d70e5dc..abd8453e5212 100644
--- a/drivers/input/misc/88pm860x_onkey.c
+++ b/drivers/input/misc/88pm860x_onkey.c
@@ -121,7 +121,7 @@ out:
121 return ret; 121 return ret;
122} 122}
123 123
124static int __devexit pm860x_onkey_remove(struct platform_device *pdev) 124static int pm860x_onkey_remove(struct platform_device *pdev)
125{ 125{
126 struct pm860x_onkey_info *info = platform_get_drvdata(pdev); 126 struct pm860x_onkey_info *info = platform_get_drvdata(pdev);
127 127
diff --git a/drivers/input/misc/ab8500-ponkey.c b/drivers/input/misc/ab8500-ponkey.c
index f188222d208d..2f090b46e716 100644
--- a/drivers/input/misc/ab8500-ponkey.c
+++ b/drivers/input/misc/ab8500-ponkey.c
@@ -118,7 +118,7 @@ err_free_mem:
118 return error; 118 return error;
119} 119}
120 120
121static int __devexit ab8500_ponkey_remove(struct platform_device *pdev) 121static int ab8500_ponkey_remove(struct platform_device *pdev)
122{ 122{
123 struct ab8500_ponkey *ponkey = platform_get_drvdata(pdev); 123 struct ab8500_ponkey *ponkey = platform_get_drvdata(pdev);
124 124
diff --git a/drivers/input/misc/ad714x-i2c.c b/drivers/input/misc/ad714x-i2c.c
index 9477602c7211..29d2064c26f2 100644
--- a/drivers/input/misc/ad714x-i2c.c
+++ b/drivers/input/misc/ad714x-i2c.c
@@ -87,7 +87,7 @@ static int ad714x_i2c_probe(struct i2c_client *client,
87 return 0; 87 return 0;
88} 88}
89 89
90static int __devexit ad714x_i2c_remove(struct i2c_client *client) 90static int ad714x_i2c_remove(struct i2c_client *client)
91{ 91{
92 struct ad714x_chip *chip = i2c_get_clientdata(client); 92 struct ad714x_chip *chip = i2c_get_clientdata(client);
93 93
diff --git a/drivers/input/misc/ad714x-spi.c b/drivers/input/misc/ad714x-spi.c
index 497871e506f4..bdccca42d138 100644
--- a/drivers/input/misc/ad714x-spi.c
+++ b/drivers/input/misc/ad714x-spi.c
@@ -103,7 +103,7 @@ static int ad714x_spi_probe(struct spi_device *spi)
103 return 0; 103 return 0;
104} 104}
105 105
106static int __devexit ad714x_spi_remove(struct spi_device *spi) 106static int ad714x_spi_remove(struct spi_device *spi)
107{ 107{
108 struct ad714x_chip *chip = spi_get_drvdata(spi); 108 struct ad714x_chip *chip = spi_get_drvdata(spi);
109 109
diff --git a/drivers/input/misc/adxl34x-i2c.c b/drivers/input/misc/adxl34x-i2c.c
index e262885f62de..535dda48cace 100644
--- a/drivers/input/misc/adxl34x-i2c.c
+++ b/drivers/input/misc/adxl34x-i2c.c
@@ -98,7 +98,7 @@ static int adxl34x_i2c_probe(struct i2c_client *client,
98 return 0; 98 return 0;
99} 99}
100 100
101static int __devexit adxl34x_i2c_remove(struct i2c_client *client) 101static int adxl34x_i2c_remove(struct i2c_client *client)
102{ 102{
103 struct adxl34x *ac = i2c_get_clientdata(client); 103 struct adxl34x *ac = i2c_get_clientdata(client);
104 104
diff --git a/drivers/input/misc/adxl34x-spi.c b/drivers/input/misc/adxl34x-spi.c
index 1071d252df07..ad5f40d37e48 100644
--- a/drivers/input/misc/adxl34x-spi.c
+++ b/drivers/input/misc/adxl34x-spi.c
@@ -87,7 +87,7 @@ static int adxl34x_spi_probe(struct spi_device *spi)
87 return 0; 87 return 0;
88} 88}
89 89
90static int __devexit adxl34x_spi_remove(struct spi_device *spi) 90static int adxl34x_spi_remove(struct spi_device *spi)
91{ 91{
92 struct adxl34x *ac = dev_get_drvdata(&spi->dev); 92 struct adxl34x *ac = dev_get_drvdata(&spi->dev);
93 93
diff --git a/drivers/input/misc/bfin_rotary.c b/drivers/input/misc/bfin_rotary.c
index 9cb4a74a479a..a6666e142a91 100644
--- a/drivers/input/misc/bfin_rotary.c
+++ b/drivers/input/misc/bfin_rotary.c
@@ -196,7 +196,7 @@ out1:
196 return error; 196 return error;
197} 197}
198 198
199static int __devexit bfin_rotary_remove(struct platform_device *pdev) 199static int bfin_rotary_remove(struct platform_device *pdev)
200{ 200{
201 struct bfin_rot *rotary = platform_get_drvdata(pdev); 201 struct bfin_rot *rotary = platform_get_drvdata(pdev);
202 202
diff --git a/drivers/input/misc/bma150.c b/drivers/input/misc/bma150.c
index a3219c2a3855..08ffcabd7220 100644
--- a/drivers/input/misc/bma150.c
+++ b/drivers/input/misc/bma150.c
@@ -613,7 +613,7 @@ err_free_mem:
613 return error; 613 return error;
614} 614}
615 615
616static int __devexit bma150_remove(struct i2c_client *client) 616static int bma150_remove(struct i2c_client *client)
617{ 617{
618 struct bma150_data *bma150 = i2c_get_clientdata(client); 618 struct bma150_data *bma150 = i2c_get_clientdata(client);
619 619
diff --git a/drivers/input/misc/cma3000_d0x_i2c.c b/drivers/input/misc/cma3000_d0x_i2c.c
index ca2103efaf17..4fdef98ceb56 100644
--- a/drivers/input/misc/cma3000_d0x_i2c.c
+++ b/drivers/input/misc/cma3000_d0x_i2c.c
@@ -69,7 +69,7 @@ static int cma3000_i2c_probe(struct i2c_client *client,
69 return 0; 69 return 0;
70} 70}
71 71
72static int __devexit cma3000_i2c_remove(struct i2c_client *client) 72static int cma3000_i2c_remove(struct i2c_client *client)
73{ 73{
74 struct cma3000_accl_data *data = i2c_get_clientdata(client); 74 struct cma3000_accl_data *data = i2c_get_clientdata(client);
75 75
diff --git a/drivers/input/misc/cobalt_btns.c b/drivers/input/misc/cobalt_btns.c
index beeb53dc073d..4f77f87847e8 100644
--- a/drivers/input/misc/cobalt_btns.c
+++ b/drivers/input/misc/cobalt_btns.c
@@ -135,7 +135,7 @@ static int cobalt_buttons_probe(struct platform_device *pdev)
135 return error; 135 return error;
136} 136}
137 137
138static int __devexit cobalt_buttons_remove(struct platform_device *pdev) 138static int cobalt_buttons_remove(struct platform_device *pdev)
139{ 139{
140 struct device *dev = &pdev->dev; 140 struct device *dev = &pdev->dev;
141 struct buttons_dev *bdev = dev_get_drvdata(dev); 141 struct buttons_dev *bdev = dev_get_drvdata(dev);
diff --git a/drivers/input/misc/da9052_onkey.c b/drivers/input/misc/da9052_onkey.c
index 8464029972db..630c1ce4980a 100644
--- a/drivers/input/misc/da9052_onkey.c
+++ b/drivers/input/misc/da9052_onkey.c
@@ -141,7 +141,7 @@ err_free_mem:
141 return error; 141 return error;
142} 142}
143 143
144static int __devexit da9052_onkey_remove(struct platform_device *pdev) 144static int da9052_onkey_remove(struct platform_device *pdev)
145{ 145{
146 struct da9052_onkey *onkey = platform_get_drvdata(pdev); 146 struct da9052_onkey *onkey = platform_get_drvdata(pdev);
147 147
diff --git a/drivers/input/misc/da9055_onkey.c b/drivers/input/misc/da9055_onkey.c
index cbf49893450c..ee6ae3a00174 100644
--- a/drivers/input/misc/da9055_onkey.c
+++ b/drivers/input/misc/da9055_onkey.c
@@ -141,7 +141,7 @@ err_free_input:
141 return err; 141 return err;
142} 142}
143 143
144static int __devexit da9055_onkey_remove(struct platform_device *pdev) 144static int da9055_onkey_remove(struct platform_device *pdev)
145{ 145{
146 struct da9055_onkey *onkey = platform_get_drvdata(pdev); 146 struct da9055_onkey *onkey = platform_get_drvdata(pdev);
147 int irq = platform_get_irq_byname(pdev, "ONKEY"); 147 int irq = platform_get_irq_byname(pdev, "ONKEY");
diff --git a/drivers/input/misc/dm355evm_keys.c b/drivers/input/misc/dm355evm_keys.c
index 5409ab7684bb..a309a5c0899e 100644
--- a/drivers/input/misc/dm355evm_keys.c
+++ b/drivers/input/misc/dm355evm_keys.c
@@ -239,7 +239,7 @@ fail1:
239 return status; 239 return status;
240} 240}
241 241
242static int __devexit dm355evm_keys_remove(struct platform_device *pdev) 242static int dm355evm_keys_remove(struct platform_device *pdev)
243{ 243{
244 struct dm355evm_keys *keys = platform_get_drvdata(pdev); 244 struct dm355evm_keys *keys = platform_get_drvdata(pdev);
245 245
diff --git a/drivers/input/misc/gp2ap002a00f.c b/drivers/input/misc/gp2ap002a00f.c
index 8ad99be5e5c8..fe30bd0fe4bd 100644
--- a/drivers/input/misc/gp2ap002a00f.c
+++ b/drivers/input/misc/gp2ap002a00f.c
@@ -205,7 +205,7 @@ err_hw_shutdown:
205 return error; 205 return error;
206} 206}
207 207
208static int __devexit gp2a_remove(struct i2c_client *client) 208static int gp2a_remove(struct i2c_client *client)
209{ 209{
210 struct gp2a_data *dt = i2c_get_clientdata(client); 210 struct gp2a_data *dt = i2c_get_clientdata(client);
211 const struct gp2a_platform_data *pdata = dt->pdata; 211 const struct gp2a_platform_data *pdata = dt->pdata;
diff --git a/drivers/input/misc/gpio_tilt_polled.c b/drivers/input/misc/gpio_tilt_polled.c
index 467884be3b3a..da05cca8b562 100644
--- a/drivers/input/misc/gpio_tilt_polled.c
+++ b/drivers/input/misc/gpio_tilt_polled.c
@@ -179,7 +179,7 @@ err_free_tdev:
179 return error; 179 return error;
180} 180}
181 181
182static int __devexit gpio_tilt_polled_remove(struct platform_device *pdev) 182static int gpio_tilt_polled_remove(struct platform_device *pdev)
183{ 183{
184 struct gpio_tilt_polled_dev *tdev = platform_get_drvdata(pdev); 184 struct gpio_tilt_polled_dev *tdev = platform_get_drvdata(pdev);
185 const struct gpio_tilt_platform_data *pdata = tdev->pdata; 185 const struct gpio_tilt_platform_data *pdata = tdev->pdata;
diff --git a/drivers/input/misc/ixp4xx-beeper.c b/drivers/input/misc/ixp4xx-beeper.c
index 97620d56ac0a..6ab3decc86e6 100644
--- a/drivers/input/misc/ixp4xx-beeper.c
+++ b/drivers/input/misc/ixp4xx-beeper.c
@@ -132,7 +132,7 @@ static int ixp4xx_spkr_probe(struct platform_device *dev)
132 return err; 132 return err;
133} 133}
134 134
135static int __devexit ixp4xx_spkr_remove(struct platform_device *dev) 135static int ixp4xx_spkr_remove(struct platform_device *dev)
136{ 136{
137 struct input_dev *input_dev = platform_get_drvdata(dev); 137 struct input_dev *input_dev = platform_get_drvdata(dev);
138 unsigned int pin = (unsigned int) input_get_drvdata(input_dev); 138 unsigned int pin = (unsigned int) input_get_drvdata(input_dev);
diff --git a/drivers/input/misc/kxtj9.c b/drivers/input/misc/kxtj9.c
index 57f1f1284165..a993b67a8a5b 100644
--- a/drivers/input/misc/kxtj9.c
+++ b/drivers/input/misc/kxtj9.c
@@ -466,7 +466,7 @@ static int kxtj9_setup_polled_device(struct kxtj9_data *tj9)
466 return 0; 466 return 0;
467} 467}
468 468
469static void __devexit kxtj9_teardown_polled_device(struct kxtj9_data *tj9) 469static void kxtj9_teardown_polled_device(struct kxtj9_data *tj9)
470{ 470{
471 input_unregister_polled_device(tj9->poll_dev); 471 input_unregister_polled_device(tj9->poll_dev);
472 input_free_polled_device(tj9->poll_dev); 472 input_free_polled_device(tj9->poll_dev);
@@ -594,7 +594,7 @@ err_free_mem:
594 return err; 594 return err;
595} 595}
596 596
597static int __devexit kxtj9_remove(struct i2c_client *client) 597static int kxtj9_remove(struct i2c_client *client)
598{ 598{
599 struct kxtj9_data *tj9 = i2c_get_clientdata(client); 599 struct kxtj9_data *tj9 = i2c_get_clientdata(client);
600 600
diff --git a/drivers/input/misc/m68kspkr.c b/drivers/input/misc/m68kspkr.c
index ec8f59dcb46c..b40ee4b47f4f 100644
--- a/drivers/input/misc/m68kspkr.c
+++ b/drivers/input/misc/m68kspkr.c
@@ -80,7 +80,7 @@ static int m68kspkr_probe(struct platform_device *dev)
80 return 0; 80 return 0;
81} 81}
82 82
83static int __devexit m68kspkr_remove(struct platform_device *dev) 83static int m68kspkr_remove(struct platform_device *dev)
84{ 84{
85 struct input_dev *input_dev = platform_get_drvdata(dev); 85 struct input_dev *input_dev = platform_get_drvdata(dev);
86 86
diff --git a/drivers/input/misc/max8925_onkey.c b/drivers/input/misc/max8925_onkey.c
index 57bc42c92d4b..369a39de4ff3 100644
--- a/drivers/input/misc/max8925_onkey.c
+++ b/drivers/input/misc/max8925_onkey.c
@@ -141,7 +141,7 @@ err_free_mem:
141 return error; 141 return error;
142} 142}
143 143
144static int __devexit max8925_onkey_remove(struct platform_device *pdev) 144static int max8925_onkey_remove(struct platform_device *pdev)
145{ 145{
146 struct max8925_onkey_info *info = platform_get_drvdata(pdev); 146 struct max8925_onkey_info *info = platform_get_drvdata(pdev);
147 struct max8925_chip *chip = dev_get_drvdata(pdev->dev.parent); 147 struct max8925_chip *chip = dev_get_drvdata(pdev->dev.parent);
diff --git a/drivers/input/misc/max8997_haptic.c b/drivers/input/misc/max8997_haptic.c
index 2613b2f3174e..e973133212a5 100644
--- a/drivers/input/misc/max8997_haptic.c
+++ b/drivers/input/misc/max8997_haptic.c
@@ -354,7 +354,7 @@ err_free_mem:
354 return error; 354 return error;
355} 355}
356 356
357static int __devexit max8997_haptic_remove(struct platform_device *pdev) 357static int max8997_haptic_remove(struct platform_device *pdev)
358{ 358{
359 struct max8997_haptic *chip = platform_get_drvdata(pdev); 359 struct max8997_haptic *chip = platform_get_drvdata(pdev);
360 360
diff --git a/drivers/input/misc/mc13783-pwrbutton.c b/drivers/input/misc/mc13783-pwrbutton.c
index a50ad911c7f5..0906ca593d5f 100644
--- a/drivers/input/misc/mc13783-pwrbutton.c
+++ b/drivers/input/misc/mc13783-pwrbutton.c
@@ -230,7 +230,7 @@ free_input_dev:
230 return err; 230 return err;
231} 231}
232 232
233static int __devexit mc13783_pwrbutton_remove(struct platform_device *pdev) 233static int mc13783_pwrbutton_remove(struct platform_device *pdev)
234{ 234{
235 struct mc13783_pwrb *priv = platform_get_drvdata(pdev); 235 struct mc13783_pwrb *priv = platform_get_drvdata(pdev);
236 const struct mc13xxx_buttons_platform_data *pdata; 236 const struct mc13xxx_buttons_platform_data *pdata;
diff --git a/drivers/input/misc/mma8450.c b/drivers/input/misc/mma8450.c
index d4528cc47f8f..480557f14f23 100644
--- a/drivers/input/misc/mma8450.c
+++ b/drivers/input/misc/mma8450.c
@@ -212,7 +212,7 @@ err_free_mem:
212 return err; 212 return err;
213} 213}
214 214
215static int __devexit mma8450_remove(struct i2c_client *c) 215static int mma8450_remove(struct i2c_client *c)
216{ 216{
217 struct mma8450 *m = i2c_get_clientdata(c); 217 struct mma8450 *m = i2c_get_clientdata(c);
218 struct input_polled_dev *idev = m->idev; 218 struct input_polled_dev *idev = m->idev;
diff --git a/drivers/input/misc/mpu3050.c b/drivers/input/misc/mpu3050.c
index ff600565654e..dce0d95943c5 100644
--- a/drivers/input/misc/mpu3050.c
+++ b/drivers/input/misc/mpu3050.c
@@ -402,7 +402,7 @@ err_free_mem:
402 * 402 *
403 * Our sensor is going away, clean up the resources. 403 * Our sensor is going away, clean up the resources.
404 */ 404 */
405static int __devexit mpu3050_remove(struct i2c_client *client) 405static int mpu3050_remove(struct i2c_client *client)
406{ 406{
407 struct mpu3050_sensor *sensor = i2c_get_clientdata(client); 407 struct mpu3050_sensor *sensor = i2c_get_clientdata(client);
408 408
diff --git a/drivers/input/misc/pcap_keys.c b/drivers/input/misc/pcap_keys.c
index 56d03ac3a430..40ac9a5adf89 100644
--- a/drivers/input/misc/pcap_keys.c
+++ b/drivers/input/misc/pcap_keys.c
@@ -104,7 +104,7 @@ fail:
104 return err; 104 return err;
105} 105}
106 106
107static int __devexit pcap_keys_remove(struct platform_device *pdev) 107static int pcap_keys_remove(struct platform_device *pdev)
108{ 108{
109 struct pcap_keys *pcap_keys = platform_get_drvdata(pdev); 109 struct pcap_keys *pcap_keys = platform_get_drvdata(pdev);
110 110
diff --git a/drivers/input/misc/pcf50633-input.c b/drivers/input/misc/pcf50633-input.c
index 8efb898863c7..73b13ebabe56 100644
--- a/drivers/input/misc/pcf50633-input.c
+++ b/drivers/input/misc/pcf50633-input.c
@@ -93,7 +93,7 @@ static int pcf50633_input_probe(struct platform_device *pdev)
93 return 0; 93 return 0;
94} 94}
95 95
96static int __devexit pcf50633_input_remove(struct platform_device *pdev) 96static int pcf50633_input_remove(struct platform_device *pdev)
97{ 97{
98 struct pcf50633_input *input = platform_get_drvdata(pdev); 98 struct pcf50633_input *input = platform_get_drvdata(pdev);
99 99
diff --git a/drivers/input/misc/pcf8574_keypad.c b/drivers/input/misc/pcf8574_keypad.c
index dbe2093c284b..e37392976fdd 100644
--- a/drivers/input/misc/pcf8574_keypad.c
+++ b/drivers/input/misc/pcf8574_keypad.c
@@ -156,7 +156,7 @@ static int pcf8574_kp_probe(struct i2c_client *client, const struct i2c_device_i
156 return ret; 156 return ret;
157} 157}
158 158
159static int __devexit pcf8574_kp_remove(struct i2c_client *client) 159static int pcf8574_kp_remove(struct i2c_client *client)
160{ 160{
161 struct kp_data *lp = i2c_get_clientdata(client); 161 struct kp_data *lp = i2c_get_clientdata(client);
162 162
diff --git a/drivers/input/misc/pcspkr.c b/drivers/input/misc/pcspkr.c
index 943b461aaf3f..199db78acc4f 100644
--- a/drivers/input/misc/pcspkr.c
+++ b/drivers/input/misc/pcspkr.c
@@ -95,7 +95,7 @@ static int pcspkr_probe(struct platform_device *dev)
95 return 0; 95 return 0;
96} 96}
97 97
98static int __devexit pcspkr_remove(struct platform_device *dev) 98static int pcspkr_remove(struct platform_device *dev)
99{ 99{
100 struct input_dev *pcspkr_dev = platform_get_drvdata(dev); 100 struct input_dev *pcspkr_dev = platform_get_drvdata(dev);
101 101
diff --git a/drivers/input/misc/pm8xxx-vibrator.c b/drivers/input/misc/pm8xxx-vibrator.c
index 1ac2b1f548a9..a9da65e41c5b 100644
--- a/drivers/input/misc/pm8xxx-vibrator.c
+++ b/drivers/input/misc/pm8xxx-vibrator.c
@@ -242,7 +242,7 @@ err_free_mem:
242 return error; 242 return error;
243} 243}
244 244
245static int __devexit pm8xxx_vib_remove(struct platform_device *pdev) 245static int pm8xxx_vib_remove(struct platform_device *pdev)
246{ 246{
247 struct pm8xxx_vib *vib = platform_get_drvdata(pdev); 247 struct pm8xxx_vib *vib = platform_get_drvdata(pdev);
248 248
diff --git a/drivers/input/misc/pmic8xxx-pwrkey.c b/drivers/input/misc/pmic8xxx-pwrkey.c
index 26e49acefa9c..4b811be73974 100644
--- a/drivers/input/misc/pmic8xxx-pwrkey.c
+++ b/drivers/input/misc/pmic8xxx-pwrkey.c
@@ -187,7 +187,7 @@ free_pwrkey:
187 return err; 187 return err;
188} 188}
189 189
190static int __devexit pmic8xxx_pwrkey_remove(struct platform_device *pdev) 190static int pmic8xxx_pwrkey_remove(struct platform_device *pdev)
191{ 191{
192 struct pmic8xxx_pwrkey *pwrkey = platform_get_drvdata(pdev); 192 struct pmic8xxx_pwrkey *pwrkey = platform_get_drvdata(pdev);
193 int key_release_irq = platform_get_irq(pdev, 0); 193 int key_release_irq = platform_get_irq(pdev, 0);
diff --git a/drivers/input/misc/pwm-beeper.c b/drivers/input/misc/pwm-beeper.c
index 48b505bddb1c..0808868461de 100644
--- a/drivers/input/misc/pwm-beeper.c
+++ b/drivers/input/misc/pwm-beeper.c
@@ -129,7 +129,7 @@ err_free:
129 return error; 129 return error;
130} 130}
131 131
132static int __devexit pwm_beeper_remove(struct platform_device *pdev) 132static int pwm_beeper_remove(struct platform_device *pdev)
133{ 133{
134 struct pwm_beeper *beeper = platform_get_drvdata(pdev); 134 struct pwm_beeper *beeper = platform_get_drvdata(pdev);
135 135
diff --git a/drivers/input/misc/rb532_button.c b/drivers/input/misc/rb532_button.c
index 91f71d6be57b..fb4f8ac3343b 100644
--- a/drivers/input/misc/rb532_button.c
+++ b/drivers/input/misc/rb532_button.c
@@ -81,7 +81,7 @@ static int rb532_button_probe(struct platform_device *pdev)
81 return 0; 81 return 0;
82} 82}
83 83
84static int __devexit rb532_button_remove(struct platform_device *pdev) 84static int rb532_button_remove(struct platform_device *pdev)
85{ 85{
86 struct input_polled_dev *poll_dev = dev_get_drvdata(&pdev->dev); 86 struct input_polled_dev *poll_dev = dev_get_drvdata(&pdev->dev);
87 87
diff --git a/drivers/input/misc/retu-pwrbutton.c b/drivers/input/misc/retu-pwrbutton.c
index 389e84e26a9a..7ca09baa0016 100644
--- a/drivers/input/misc/retu-pwrbutton.c
+++ b/drivers/input/misc/retu-pwrbutton.c
@@ -76,7 +76,7 @@ static int retu_pwrbutton_probe(struct platform_device *pdev)
76 return 0; 76 return 0;
77} 77}
78 78
79static int __devexit retu_pwrbutton_remove(struct platform_device *pdev) 79static int retu_pwrbutton_remove(struct platform_device *pdev)
80{ 80{
81 return 0; 81 return 0;
82} 82}
diff --git a/drivers/input/misc/rotary_encoder.c b/drivers/input/misc/rotary_encoder.c
index cd3c363f7e2b..aff47b2c38ff 100644
--- a/drivers/input/misc/rotary_encoder.c
+++ b/drivers/input/misc/rotary_encoder.c
@@ -301,7 +301,7 @@ exit_free_mem:
301 return err; 301 return err;
302} 302}
303 303
304static int __devexit rotary_encoder_remove(struct platform_device *pdev) 304static int rotary_encoder_remove(struct platform_device *pdev)
305{ 305{
306 struct rotary_encoder *encoder = platform_get_drvdata(pdev); 306 struct rotary_encoder *encoder = platform_get_drvdata(pdev);
307 const struct rotary_encoder_platform_data *pdata = encoder->pdata; 307 const struct rotary_encoder_platform_data *pdata = encoder->pdata;
diff --git a/drivers/input/misc/sgi_btns.c b/drivers/input/misc/sgi_btns.c
index 22ccd3f35607..ad6415ceaf5f 100644
--- a/drivers/input/misc/sgi_btns.c
+++ b/drivers/input/misc/sgi_btns.c
@@ -143,7 +143,7 @@ static int sgi_buttons_probe(struct platform_device *pdev)
143 return error; 143 return error;
144} 144}
145 145
146static int __devexit sgi_buttons_remove(struct platform_device *pdev) 146static int sgi_buttons_remove(struct platform_device *pdev)
147{ 147{
148 struct device *dev = &pdev->dev; 148 struct device *dev = &pdev->dev;
149 struct buttons_dev *bdev = dev_get_drvdata(dev); 149 struct buttons_dev *bdev = dev_get_drvdata(dev);
diff --git a/drivers/input/misc/sparcspkr.c b/drivers/input/misc/sparcspkr.c
index d0239b496399..a53586a7fbdb 100644
--- a/drivers/input/misc/sparcspkr.c
+++ b/drivers/input/misc/sparcspkr.c
@@ -229,7 +229,7 @@ out_err:
229 return err; 229 return err;
230} 230}
231 231
232static int __devexit bbc_remove(struct platform_device *op) 232static int bbc_remove(struct platform_device *op)
233{ 233{
234 struct sparcspkr_state *state = dev_get_drvdata(&op->dev); 234 struct sparcspkr_state *state = dev_get_drvdata(&op->dev);
235 struct input_dev *input_dev = state->input_dev; 235 struct input_dev *input_dev = state->input_dev;
@@ -310,7 +310,7 @@ out_err:
310 return err; 310 return err;
311} 311}
312 312
313static int __devexit grover_remove(struct platform_device *op) 313static int grover_remove(struct platform_device *op)
314{ 314{
315 struct sparcspkr_state *state = dev_get_drvdata(&op->dev); 315 struct sparcspkr_state *state = dev_get_drvdata(&op->dev);
316 struct grover_beep_info *info = &state->u.grover; 316 struct grover_beep_info *info = &state->u.grover;
diff --git a/drivers/input/misc/twl4030-vibra.c b/drivers/input/misc/twl4030-vibra.c
index 21030266bb3f..78eb6b30580a 100644
--- a/drivers/input/misc/twl4030-vibra.c
+++ b/drivers/input/misc/twl4030-vibra.c
@@ -269,7 +269,7 @@ err_kzalloc:
269 return ret; 269 return ret;
270} 270}
271 271
272static int __devexit twl4030_vibra_remove(struct platform_device *pdev) 272static int twl4030_vibra_remove(struct platform_device *pdev)
273{ 273{
274 struct vibra_info *info = platform_get_drvdata(pdev); 274 struct vibra_info *info = platform_get_drvdata(pdev);
275 275
diff --git a/drivers/input/misc/twl6040-vibra.c b/drivers/input/misc/twl6040-vibra.c
index 4b650e43fdd9..71a28ee699f3 100644
--- a/drivers/input/misc/twl6040-vibra.c
+++ b/drivers/input/misc/twl6040-vibra.c
@@ -418,7 +418,7 @@ err_kzalloc:
418 return ret; 418 return ret;
419} 419}
420 420
421static int __devexit twl6040_vibra_remove(struct platform_device *pdev) 421static int twl6040_vibra_remove(struct platform_device *pdev)
422{ 422{
423 struct vibra_info *info = platform_get_drvdata(pdev); 423 struct vibra_info *info = platform_get_drvdata(pdev);
424 424
diff --git a/drivers/input/misc/wistron_btns.c b/drivers/input/misc/wistron_btns.c
index 46d79c516854..56536f4b9572 100644
--- a/drivers/input/misc/wistron_btns.c
+++ b/drivers/input/misc/wistron_btns.c
@@ -1077,7 +1077,7 @@ static void wistron_led_init(struct device *parent)
1077 } 1077 }
1078} 1078}
1079 1079
1080static void __devexit wistron_led_remove(void) 1080static void wistron_led_remove(void)
1081{ 1081{
1082 if (leds_present & FE_MAIL_LED) 1082 if (leds_present & FE_MAIL_LED)
1083 led_classdev_unregister(&wistron_mail_led); 1083 led_classdev_unregister(&wistron_mail_led);
@@ -1277,7 +1277,7 @@ static int wistron_probe(struct platform_device *dev)
1277 return 0; 1277 return 0;
1278} 1278}
1279 1279
1280static int __devexit wistron_remove(struct platform_device *dev) 1280static int wistron_remove(struct platform_device *dev)
1281{ 1281{
1282 wistron_led_remove(); 1282 wistron_led_remove();
1283 input_unregister_polled_device(wistron_idev); 1283 input_unregister_polled_device(wistron_idev);
diff --git a/drivers/input/misc/wm831x-on.c b/drivers/input/misc/wm831x-on.c
index de7751e1b13c..558767d8ebf4 100644
--- a/drivers/input/misc/wm831x-on.c
+++ b/drivers/input/misc/wm831x-on.c
@@ -124,7 +124,7 @@ err:
124 return ret; 124 return ret;
125} 125}
126 126
127static int __devexit wm831x_on_remove(struct platform_device *pdev) 127static int wm831x_on_remove(struct platform_device *pdev)
128{ 128{
129 struct wm831x_on *wm831x_on = platform_get_drvdata(pdev); 129 struct wm831x_on *wm831x_on = platform_get_drvdata(pdev);
130 int irq = platform_get_irq(pdev, 0); 130 int irq = platform_get_irq(pdev, 0);
diff --git a/drivers/input/mouse/gpio_mouse.c b/drivers/input/mouse/gpio_mouse.c
index 8e1fe82e16b7..532eaca4cc56 100644
--- a/drivers/input/mouse/gpio_mouse.c
+++ b/drivers/input/mouse/gpio_mouse.c
@@ -150,7 +150,7 @@ static int gpio_mouse_probe(struct platform_device *pdev)
150 return error; 150 return error;
151} 151}
152 152
153static int __devexit gpio_mouse_remove(struct platform_device *pdev) 153static int gpio_mouse_remove(struct platform_device *pdev)
154{ 154{
155 struct input_polled_dev *input = platform_get_drvdata(pdev); 155 struct input_polled_dev *input = platform_get_drvdata(pdev);
156 struct gpio_mouse_platform_data *pdata = input->private; 156 struct gpio_mouse_platform_data *pdata = input->private;
diff --git a/drivers/input/mouse/maplemouse.c b/drivers/input/mouse/maplemouse.c
index 3541f362866b..0a60717b91c6 100644
--- a/drivers/input/mouse/maplemouse.c
+++ b/drivers/input/mouse/maplemouse.c
@@ -114,7 +114,7 @@ fail:
114 return error; 114 return error;
115} 115}
116 116
117static int __devexit remove_maple_mouse(struct device *dev) 117static int remove_maple_mouse(struct device *dev)
118{ 118{
119 struct maple_device *mdev = to_maple_dev(dev); 119 struct maple_device *mdev = to_maple_dev(dev);
120 struct dc_mouse *mse = maple_get_drvdata(mdev); 120 struct dc_mouse *mse = maple_get_drvdata(mdev);
diff --git a/drivers/input/mouse/navpoint.c b/drivers/input/mouse/navpoint.c
index f51df6bfc52b..8e1b98ea5648 100644
--- a/drivers/input/mouse/navpoint.c
+++ b/drivers/input/mouse/navpoint.c
@@ -299,7 +299,7 @@ err_free_gpio:
299 return error; 299 return error;
300} 300}
301 301
302static int __devexit navpoint_remove(struct platform_device *pdev) 302static int navpoint_remove(struct platform_device *pdev)
303{ 303{
304 const struct navpoint_platform_data *pdata = 304 const struct navpoint_platform_data *pdata =
305 dev_get_platdata(&pdev->dev); 305 dev_get_platdata(&pdev->dev);
diff --git a/drivers/input/mouse/pxa930_trkball.c b/drivers/input/mouse/pxa930_trkball.c
index ed808fce0ac0..0ecb9e7945eb 100644
--- a/drivers/input/mouse/pxa930_trkball.c
+++ b/drivers/input/mouse/pxa930_trkball.c
@@ -230,7 +230,7 @@ failed:
230 return error; 230 return error;
231} 231}
232 232
233static int __devexit pxa930_trkball_remove(struct platform_device *pdev) 233static int pxa930_trkball_remove(struct platform_device *pdev)
234{ 234{
235 struct pxa930_trkball *trkball = platform_get_drvdata(pdev); 235 struct pxa930_trkball *trkball = platform_get_drvdata(pdev);
236 int irq = platform_get_irq(pdev, 0); 236 int irq = platform_get_irq(pdev, 0);
diff --git a/drivers/input/mouse/synaptics_i2c.c b/drivers/input/mouse/synaptics_i2c.c
index 007c378bd694..ad822608f6ee 100644
--- a/drivers/input/mouse/synaptics_i2c.c
+++ b/drivers/input/mouse/synaptics_i2c.c
@@ -601,7 +601,7 @@ err_mem_free:
601 return ret; 601 return ret;
602} 602}
603 603
604static int __devexit synaptics_i2c_remove(struct i2c_client *client) 604static int synaptics_i2c_remove(struct i2c_client *client)
605{ 605{
606 struct synaptics_i2c *touch = i2c_get_clientdata(client); 606 struct synaptics_i2c *touch = i2c_get_clientdata(client);
607 607
diff --git a/drivers/input/serio/altera_ps2.c b/drivers/input/serio/altera_ps2.c
index ea46ddcf2ed5..479ce5fe8955 100644
--- a/drivers/input/serio/altera_ps2.c
+++ b/drivers/input/serio/altera_ps2.c
@@ -159,7 +159,7 @@ static int altera_ps2_probe(struct platform_device *pdev)
159/* 159/*
160 * Remove one device from this driver. 160 * Remove one device from this driver.
161 */ 161 */
162static int __devexit altera_ps2_remove(struct platform_device *pdev) 162static int altera_ps2_remove(struct platform_device *pdev)
163{ 163{
164 struct ps2if *ps2if = platform_get_drvdata(pdev); 164 struct ps2if *ps2if = platform_get_drvdata(pdev);
165 165
diff --git a/drivers/input/serio/ambakmi.c b/drivers/input/serio/ambakmi.c
index 7c502c391bbc..4e2fd44865e1 100644
--- a/drivers/input/serio/ambakmi.c
+++ b/drivers/input/serio/ambakmi.c
@@ -163,7 +163,7 @@ static int amba_kmi_probe(struct amba_device *dev,
163 return ret; 163 return ret;
164} 164}
165 165
166static int __devexit amba_kmi_remove(struct amba_device *dev) 166static int amba_kmi_remove(struct amba_device *dev)
167{ 167{
168 struct amba_kmi_port *kmi = amba_get_drvdata(dev); 168 struct amba_kmi_port *kmi = amba_get_drvdata(dev);
169 169
diff --git a/drivers/input/serio/arc_ps2.c b/drivers/input/serio/arc_ps2.c
index e618c2a825aa..b571eb3e4efc 100644
--- a/drivers/input/serio/arc_ps2.c
+++ b/drivers/input/serio/arc_ps2.c
@@ -242,7 +242,7 @@ static int arc_ps2_probe(struct platform_device *pdev)
242 return 0; 242 return 0;
243} 243}
244 244
245static int __devexit arc_ps2_remove(struct platform_device *pdev) 245static int arc_ps2_remove(struct platform_device *pdev)
246{ 246{
247 struct arc_ps2_data *arc_ps2 = platform_get_drvdata(pdev); 247 struct arc_ps2_data *arc_ps2 = platform_get_drvdata(pdev);
248 int i; 248 int i;
diff --git a/drivers/input/serio/ct82c710.c b/drivers/input/serio/ct82c710.c
index e8a8748bae6f..cfe549d4eaa5 100644
--- a/drivers/input/serio/ct82c710.c
+++ b/drivers/input/serio/ct82c710.c
@@ -199,7 +199,7 @@ static int ct82c710_probe(struct platform_device *dev)
199 return 0; 199 return 0;
200} 200}
201 201
202static int __devexit ct82c710_remove(struct platform_device *dev) 202static int ct82c710_remove(struct platform_device *dev)
203{ 203{
204 serio_unregister_port(ct82c710_port); 204 serio_unregister_port(ct82c710_port);
205 205
diff --git a/drivers/input/serio/gscps2.c b/drivers/input/serio/gscps2.c
index a36a4667ddae..8d9ba0c3827c 100644
--- a/drivers/input/serio/gscps2.c
+++ b/drivers/input/serio/gscps2.c
@@ -414,7 +414,7 @@ fail_nomem:
414 * @return: success/error report 414 * @return: success/error report
415 */ 415 */
416 416
417static int __devexit gscps2_remove(struct parisc_device *dev) 417static int gscps2_remove(struct parisc_device *dev)
418{ 418{
419 struct gscps2port *ps2port = dev_get_drvdata(&dev->dev); 419 struct gscps2port *ps2port = dev_get_drvdata(&dev->dev);
420 420
diff --git a/drivers/input/serio/i8042-sparcio.h b/drivers/input/serio/i8042-sparcio.h
index c11748575786..d6aa4c67dbb6 100644
--- a/drivers/input/serio/i8042-sparcio.h
+++ b/drivers/input/serio/i8042-sparcio.h
@@ -80,7 +80,7 @@ static int sparc_i8042_probe(struct platform_device *op)
80 return 0; 80 return 0;
81} 81}
82 82
83static int __devexit sparc_i8042_remove(struct platform_device *op) 83static int sparc_i8042_remove(struct platform_device *op)
84{ 84{
85 of_iounmap(kbd_res, kbd_iobase, 8); 85 of_iounmap(kbd_res, kbd_iobase, 8);
86 86
diff --git a/drivers/input/serio/i8042.c b/drivers/input/serio/i8042.c
index 2539195729bd..78e4de42efaa 100644
--- a/drivers/input/serio/i8042.c
+++ b/drivers/input/serio/i8042.c
@@ -1284,7 +1284,7 @@ static void __init i8042_register_ports(void)
1284 } 1284 }
1285} 1285}
1286 1286
1287static void __devexit i8042_unregister_ports(void) 1287static void i8042_unregister_ports(void)
1288{ 1288{
1289 int i; 1289 int i;
1290 1290
@@ -1437,7 +1437,7 @@ static int __init i8042_probe(struct platform_device *dev)
1437 return error; 1437 return error;
1438} 1438}
1439 1439
1440static int __devexit i8042_remove(struct platform_device *dev) 1440static int i8042_remove(struct platform_device *dev)
1441{ 1441{
1442 i8042_unregister_ports(); 1442 i8042_unregister_ports();
1443 i8042_free_irqs(); 1443 i8042_free_irqs();
diff --git a/drivers/input/serio/maceps2.c b/drivers/input/serio/maceps2.c
index 057240e3a74a..bc85e1cc66d8 100644
--- a/drivers/input/serio/maceps2.c
+++ b/drivers/input/serio/maceps2.c
@@ -151,7 +151,7 @@ static int maceps2_probe(struct platform_device *dev)
151 return 0; 151 return 0;
152} 152}
153 153
154static int __devexit maceps2_remove(struct platform_device *dev) 154static int maceps2_remove(struct platform_device *dev)
155{ 155{
156 serio_unregister_port(maceps2_port[0]); 156 serio_unregister_port(maceps2_port[0]);
157 serio_unregister_port(maceps2_port[1]); 157 serio_unregister_port(maceps2_port[1]);
diff --git a/drivers/input/serio/pcips2.c b/drivers/input/serio/pcips2.c
index 1914290674ef..76f83836fd5a 100644
--- a/drivers/input/serio/pcips2.c
+++ b/drivers/input/serio/pcips2.c
@@ -176,7 +176,7 @@ static int pcips2_probe(struct pci_dev *dev, const struct pci_device_id *id)
176 return ret; 176 return ret;
177} 177}
178 178
179static void __devexit pcips2_remove(struct pci_dev *dev) 179static void pcips2_remove(struct pci_dev *dev)
180{ 180{
181 struct pcips2_data *ps2if = pci_get_drvdata(dev); 181 struct pcips2_data *ps2if = pci_get_drvdata(dev);
182 182
diff --git a/drivers/input/serio/q40kbd.c b/drivers/input/serio/q40kbd.c
index 3c58f6b2fe54..70fe542839fb 100644
--- a/drivers/input/serio/q40kbd.c
+++ b/drivers/input/serio/q40kbd.c
@@ -168,7 +168,7 @@ err_free_mem:
168 return error; 168 return error;
169} 169}
170 170
171static int __devexit q40kbd_remove(struct platform_device *pdev) 171static int q40kbd_remove(struct platform_device *pdev)
172{ 172{
173 struct q40kbd *q40kbd = platform_get_drvdata(pdev); 173 struct q40kbd *q40kbd = platform_get_drvdata(pdev);
174 174
diff --git a/drivers/input/serio/rpckbd.c b/drivers/input/serio/rpckbd.c
index d64f053ae3ee..567566ae0dae 100644
--- a/drivers/input/serio/rpckbd.c
+++ b/drivers/input/serio/rpckbd.c
@@ -153,7 +153,7 @@ static int rpckbd_probe(struct platform_device *dev)
153 return 0; 153 return 0;
154} 154}
155 155
156static int __devexit rpckbd_remove(struct platform_device *dev) 156static int rpckbd_remove(struct platform_device *dev)
157{ 157{
158 struct serio *serio = platform_get_drvdata(dev); 158 struct serio *serio = platform_get_drvdata(dev);
159 struct rpckbd_data *rpckbd = serio->port_data; 159 struct rpckbd_data *rpckbd = serio->port_data;
diff --git a/drivers/input/serio/sa1111ps2.c b/drivers/input/serio/sa1111ps2.c
index 4458ec3b1d2a..b3e688911fd9 100644
--- a/drivers/input/serio/sa1111ps2.c
+++ b/drivers/input/serio/sa1111ps2.c
@@ -334,7 +334,7 @@ static int ps2_probe(struct sa1111_dev *dev)
334/* 334/*
335 * Remove one device from this driver. 335 * Remove one device from this driver.
336 */ 336 */
337static int __devexit ps2_remove(struct sa1111_dev *dev) 337static int ps2_remove(struct sa1111_dev *dev)
338{ 338{
339 struct ps2if *ps2if = sa1111_get_drvdata(dev); 339 struct ps2if *ps2if = sa1111_get_drvdata(dev);
340 340
diff --git a/drivers/input/serio/xilinx_ps2.c b/drivers/input/serio/xilinx_ps2.c
index ed5e8e625bff..17be85948ffd 100644
--- a/drivers/input/serio/xilinx_ps2.c
+++ b/drivers/input/serio/xilinx_ps2.c
@@ -333,7 +333,7 @@ failed1:
333 * if the driver module is being unloaded. It frees any resources allocated to 333 * if the driver module is being unloaded. It frees any resources allocated to
334 * the device. 334 * the device.
335 */ 335 */
336static int __devexit xps2_of_remove(struct platform_device *of_dev) 336static int xps2_of_remove(struct platform_device *of_dev)
337{ 337{
338 struct xps2data *drvdata = platform_get_drvdata(of_dev); 338 struct xps2data *drvdata = platform_get_drvdata(of_dev);
339 struct resource r_mem; /* IO mem resources */ 339 struct resource r_mem; /* IO mem resources */
diff --git a/drivers/input/touchscreen/88pm860x-ts.c b/drivers/input/touchscreen/88pm860x-ts.c
index 183d35b9d07a..c7068942ebe8 100644
--- a/drivers/input/touchscreen/88pm860x-ts.c
+++ b/drivers/input/touchscreen/88pm860x-ts.c
@@ -293,7 +293,7 @@ out:
293 return ret; 293 return ret;
294} 294}
295 295
296static int __devexit pm860x_touch_remove(struct platform_device *pdev) 296static int pm860x_touch_remove(struct platform_device *pdev)
297{ 297{
298 struct pm860x_touch *touch = platform_get_drvdata(pdev); 298 struct pm860x_touch *touch = platform_get_drvdata(pdev);
299 299
diff --git a/drivers/input/touchscreen/ad7877.c b/drivers/input/touchscreen/ad7877.c
index 61c0a98d6dd7..23fa829b869d 100644
--- a/drivers/input/touchscreen/ad7877.c
+++ b/drivers/input/touchscreen/ad7877.c
@@ -810,7 +810,7 @@ err_free_mem:
810 return err; 810 return err;
811} 811}
812 812
813static int __devexit ad7877_remove(struct spi_device *spi) 813static int ad7877_remove(struct spi_device *spi)
814{ 814{
815 struct ad7877 *ts = dev_get_drvdata(&spi->dev); 815 struct ad7877 *ts = dev_get_drvdata(&spi->dev);
816 816
diff --git a/drivers/input/touchscreen/ad7879-i2c.c b/drivers/input/touchscreen/ad7879-i2c.c
index b155770c521d..dcf390771549 100644
--- a/drivers/input/touchscreen/ad7879-i2c.c
+++ b/drivers/input/touchscreen/ad7879-i2c.c
@@ -75,7 +75,7 @@ static int ad7879_i2c_probe(struct i2c_client *client,
75 return 0; 75 return 0;
76} 76}
77 77
78static int __devexit ad7879_i2c_remove(struct i2c_client *client) 78static int ad7879_i2c_remove(struct i2c_client *client)
79{ 79{
80 struct ad7879 *ts = i2c_get_clientdata(client); 80 struct ad7879 *ts = i2c_get_clientdata(client);
81 81
diff --git a/drivers/input/touchscreen/ad7879-spi.c b/drivers/input/touchscreen/ad7879-spi.c
index c9b73e0b6528..606da5bd6115 100644
--- a/drivers/input/touchscreen/ad7879-spi.c
+++ b/drivers/input/touchscreen/ad7879-spi.c
@@ -137,7 +137,7 @@ static int ad7879_spi_probe(struct spi_device *spi)
137 return 0; 137 return 0;
138} 138}
139 139
140static int __devexit ad7879_spi_remove(struct spi_device *spi) 140static int ad7879_spi_remove(struct spi_device *spi)
141{ 141{
142 struct ad7879 *ts = spi_get_drvdata(spi); 142 struct ad7879 *ts = spi_get_drvdata(spi);
143 143
diff --git a/drivers/input/touchscreen/ads7846.c b/drivers/input/touchscreen/ads7846.c
index 156a36b43bff..4f702b3ec1a3 100644
--- a/drivers/input/touchscreen/ads7846.c
+++ b/drivers/input/touchscreen/ads7846.c
@@ -1390,7 +1390,7 @@ static int ads7846_probe(struct spi_device *spi)
1390 return err; 1390 return err;
1391} 1391}
1392 1392
1393static int __devexit ads7846_remove(struct spi_device *spi) 1393static int ads7846_remove(struct spi_device *spi)
1394{ 1394{
1395 struct ads7846 *ts = dev_get_drvdata(&spi->dev); 1395 struct ads7846 *ts = dev_get_drvdata(&spi->dev);
1396 1396
diff --git a/drivers/input/touchscreen/atmel_mxt_ts.c b/drivers/input/touchscreen/atmel_mxt_ts.c
index cd961bcf9f0e..d04f810cb1dd 100644
--- a/drivers/input/touchscreen/atmel_mxt_ts.c
+++ b/drivers/input/touchscreen/atmel_mxt_ts.c
@@ -1200,7 +1200,7 @@ err_free_mem:
1200 return error; 1200 return error;
1201} 1201}
1202 1202
1203static int __devexit mxt_remove(struct i2c_client *client) 1203static int mxt_remove(struct i2c_client *client)
1204{ 1204{
1205 struct mxt_data *data = i2c_get_clientdata(client); 1205 struct mxt_data *data = i2c_get_clientdata(client);
1206 1206
diff --git a/drivers/input/touchscreen/atmel_tsadcc.c b/drivers/input/touchscreen/atmel_tsadcc.c
index 4b4f5ab76e5c..55092d1c5cb9 100644
--- a/drivers/input/touchscreen/atmel_tsadcc.c
+++ b/drivers/input/touchscreen/atmel_tsadcc.c
@@ -323,7 +323,7 @@ err_free_mem:
323 return err; 323 return err;
324} 324}
325 325
326static int __devexit atmel_tsadcc_remove(struct platform_device *pdev) 326static int atmel_tsadcc_remove(struct platform_device *pdev)
327{ 327{
328 struct atmel_tsadcc *ts_dev = dev_get_drvdata(&pdev->dev); 328 struct atmel_tsadcc *ts_dev = dev_get_drvdata(&pdev->dev);
329 struct resource *res; 329 struct resource *res;
diff --git a/drivers/input/touchscreen/auo-pixcir-ts.c b/drivers/input/touchscreen/auo-pixcir-ts.c
index cdd233f3ed8e..c6e19a96348e 100644
--- a/drivers/input/touchscreen/auo-pixcir-ts.c
+++ b/drivers/input/touchscreen/auo-pixcir-ts.c
@@ -599,7 +599,7 @@ err_gpio_int:
599 return ret; 599 return ret;
600} 600}
601 601
602static int __devexit auo_pixcir_remove(struct i2c_client *client) 602static int auo_pixcir_remove(struct i2c_client *client)
603{ 603{
604 struct auo_pixcir_ts *ts = i2c_get_clientdata(client); 604 struct auo_pixcir_ts *ts = i2c_get_clientdata(client);
605 const struct auo_pixcir_ts_platdata *pdata = client->dev.platform_data; 605 const struct auo_pixcir_ts_platdata *pdata = client->dev.platform_data;
diff --git a/drivers/input/touchscreen/bu21013_ts.c b/drivers/input/touchscreen/bu21013_ts.c
index bf90391aae59..59a8ce86fcda 100644
--- a/drivers/input/touchscreen/bu21013_ts.c
+++ b/drivers/input/touchscreen/bu21013_ts.c
@@ -549,7 +549,7 @@ err_free_mem:
549 * This function uses to remove the i2c-client 549 * This function uses to remove the i2c-client
550 * touchscreen driver and returns integer. 550 * touchscreen driver and returns integer.
551 */ 551 */
552static int __devexit bu21013_remove(struct i2c_client *client) 552static int bu21013_remove(struct i2c_client *client)
553{ 553{
554 struct bu21013_ts_data *bu21013_data = i2c_get_clientdata(client); 554 struct bu21013_ts_data *bu21013_data = i2c_get_clientdata(client);
555 555
diff --git a/drivers/input/touchscreen/cy8ctmg110_ts.c b/drivers/input/touchscreen/cy8ctmg110_ts.c
index 0aaa24ec6f51..96e0eedcc7e5 100644
--- a/drivers/input/touchscreen/cy8ctmg110_ts.c
+++ b/drivers/input/touchscreen/cy8ctmg110_ts.c
@@ -323,7 +323,7 @@ static int cy8ctmg110_resume(struct device *dev)
323static SIMPLE_DEV_PM_OPS(cy8ctmg110_pm, cy8ctmg110_suspend, cy8ctmg110_resume); 323static SIMPLE_DEV_PM_OPS(cy8ctmg110_pm, cy8ctmg110_suspend, cy8ctmg110_resume);
324#endif 324#endif
325 325
326static int __devexit cy8ctmg110_remove(struct i2c_client *client) 326static int cy8ctmg110_remove(struct i2c_client *client)
327{ 327{
328 struct cy8ctmg110 *ts = i2c_get_clientdata(client); 328 struct cy8ctmg110 *ts = i2c_get_clientdata(client);
329 329
diff --git a/drivers/input/touchscreen/cyttsp_i2c.c b/drivers/input/touchscreen/cyttsp_i2c.c
index 167e9834e597..4dbdf44b8fc5 100644
--- a/drivers/input/touchscreen/cyttsp_i2c.c
+++ b/drivers/input/touchscreen/cyttsp_i2c.c
@@ -102,7 +102,7 @@ static int cyttsp_i2c_probe(struct i2c_client *client,
102 return 0; 102 return 0;
103} 103}
104 104
105static int __devexit cyttsp_i2c_remove(struct i2c_client *client) 105static int cyttsp_i2c_remove(struct i2c_client *client)
106{ 106{
107 struct cyttsp *ts = i2c_get_clientdata(client); 107 struct cyttsp *ts = i2c_get_clientdata(client);
108 108
diff --git a/drivers/input/touchscreen/cyttsp_spi.c b/drivers/input/touchscreen/cyttsp_spi.c
index 8ea29d9ae3bc..638e20310f12 100644
--- a/drivers/input/touchscreen/cyttsp_spi.c
+++ b/drivers/input/touchscreen/cyttsp_spi.c
@@ -172,7 +172,7 @@ static int cyttsp_spi_probe(struct spi_device *spi)
172 return 0; 172 return 0;
173} 173}
174 174
175static int __devexit cyttsp_spi_remove(struct spi_device *spi) 175static int cyttsp_spi_remove(struct spi_device *spi)
176{ 176{
177 struct cyttsp *ts = spi_get_drvdata(spi); 177 struct cyttsp *ts = spi_get_drvdata(spi);
178 178
diff --git a/drivers/input/touchscreen/da9034-ts.c b/drivers/input/touchscreen/da9034-ts.c
index 53a95244a14c..34ad84105e6e 100644
--- a/drivers/input/touchscreen/da9034-ts.c
+++ b/drivers/input/touchscreen/da9034-ts.c
@@ -361,7 +361,7 @@ err_free_touch:
361 return ret; 361 return ret;
362} 362}
363 363
364static int __devexit da9034_touch_remove(struct platform_device *pdev) 364static int da9034_touch_remove(struct platform_device *pdev)
365{ 365{
366 struct da9034_touch *touch = platform_get_drvdata(pdev); 366 struct da9034_touch *touch = platform_get_drvdata(pdev);
367 367
diff --git a/drivers/input/touchscreen/da9052_tsi.c b/drivers/input/touchscreen/da9052_tsi.c
index 8a493b962db3..303966ffe1e8 100644
--- a/drivers/input/touchscreen/da9052_tsi.c
+++ b/drivers/input/touchscreen/da9052_tsi.c
@@ -336,7 +336,7 @@ err_free_mem:
336 return error; 336 return error;
337} 337}
338 338
339static int __devexit da9052_ts_remove(struct platform_device *pdev) 339static int da9052_ts_remove(struct platform_device *pdev)
340{ 340{
341 struct da9052_tsi *tsi = platform_get_drvdata(pdev); 341 struct da9052_tsi *tsi = platform_get_drvdata(pdev);
342 342
diff --git a/drivers/input/touchscreen/edt-ft5x06.c b/drivers/input/touchscreen/edt-ft5x06.c
index 677e78804b79..a9170157b442 100644
--- a/drivers/input/touchscreen/edt-ft5x06.c
+++ b/drivers/input/touchscreen/edt-ft5x06.c
@@ -592,7 +592,7 @@ edt_ft5x06_ts_prepare_debugfs(struct edt_ft5x06_ts_data *tsdata,
592 tsdata->debug_dir, tsdata, &debugfs_raw_data_fops); 592 tsdata->debug_dir, tsdata, &debugfs_raw_data_fops);
593} 593}
594 594
595static void __devexit 595static void
596edt_ft5x06_ts_teardown_debugfs(struct edt_ft5x06_ts_data *tsdata) 596edt_ft5x06_ts_teardown_debugfs(struct edt_ft5x06_ts_data *tsdata)
597{ 597{
598 if (tsdata->debug_dir) 598 if (tsdata->debug_dir)
@@ -822,7 +822,7 @@ err_free_mem:
822 return error; 822 return error;
823} 823}
824 824
825static int __devexit edt_ft5x06_ts_remove(struct i2c_client *client) 825static int edt_ft5x06_ts_remove(struct i2c_client *client)
826{ 826{
827 const struct edt_ft5x06_platform_data *pdata = 827 const struct edt_ft5x06_platform_data *pdata =
828 dev_get_platdata(&client->dev); 828 dev_get_platdata(&client->dev);
diff --git a/drivers/input/touchscreen/eeti_ts.c b/drivers/input/touchscreen/eeti_ts.c
index a65709959fa0..55255a940072 100644
--- a/drivers/input/touchscreen/eeti_ts.c
+++ b/drivers/input/touchscreen/eeti_ts.c
@@ -248,7 +248,7 @@ err0:
248 return err; 248 return err;
249} 249}
250 250
251static int __devexit eeti_ts_remove(struct i2c_client *client) 251static int eeti_ts_remove(struct i2c_client *client)
252{ 252{
253 struct eeti_ts_priv *priv = i2c_get_clientdata(client); 253 struct eeti_ts_priv *priv = i2c_get_clientdata(client);
254 254
diff --git a/drivers/input/touchscreen/egalax_ts.c b/drivers/input/touchscreen/egalax_ts.c
index f5e09ca1ffed..17c9097f3b5d 100644
--- a/drivers/input/touchscreen/egalax_ts.c
+++ b/drivers/input/touchscreen/egalax_ts.c
@@ -246,7 +246,7 @@ err_free_ts:
246 return error; 246 return error;
247} 247}
248 248
249static __devexit int egalax_ts_remove(struct i2c_client *client) 249static int egalax_ts_remove(struct i2c_client *client)
250{ 250{
251 struct egalax_ts *ts = i2c_get_clientdata(client); 251 struct egalax_ts *ts = i2c_get_clientdata(client);
252 252
diff --git a/drivers/input/touchscreen/htcpen.c b/drivers/input/touchscreen/htcpen.c
index 32a451c89d53..6c4fb8436957 100644
--- a/drivers/input/touchscreen/htcpen.c
+++ b/drivers/input/touchscreen/htcpen.c
@@ -174,7 +174,7 @@ static int htcpen_isa_probe(struct device *dev, unsigned int id)
174 return err; 174 return err;
175} 175}
176 176
177static int __devexit htcpen_isa_remove(struct device *dev, unsigned int id) 177static int htcpen_isa_remove(struct device *dev, unsigned int id)
178{ 178{
179 struct input_dev *htcpen_dev = dev_get_drvdata(dev); 179 struct input_dev *htcpen_dev = dev_get_drvdata(dev);
180 180
diff --git a/drivers/input/touchscreen/ili210x.c b/drivers/input/touchscreen/ili210x.c
index 7e6221c9ea7d..1418bdda61bb 100644
--- a/drivers/input/touchscreen/ili210x.c
+++ b/drivers/input/touchscreen/ili210x.c
@@ -298,7 +298,7 @@ err_free_mem:
298 return error; 298 return error;
299} 299}
300 300
301static int __devexit ili210x_i2c_remove(struct i2c_client *client) 301static int ili210x_i2c_remove(struct i2c_client *client)
302{ 302{
303 struct ili210x *priv = i2c_get_clientdata(client); 303 struct ili210x *priv = i2c_get_clientdata(client);
304 304
diff --git a/drivers/input/touchscreen/intel-mid-touch.c b/drivers/input/touchscreen/intel-mid-touch.c
index e413f3344edd..465db5dba8b4 100644
--- a/drivers/input/touchscreen/intel-mid-touch.c
+++ b/drivers/input/touchscreen/intel-mid-touch.c
@@ -643,7 +643,7 @@ err_free_mem:
643 return err; 643 return err;
644} 644}
645 645
646static int __devexit mrstouch_remove(struct platform_device *pdev) 646static int mrstouch_remove(struct platform_device *pdev)
647{ 647{
648 struct mrstouch_dev *tsdev = platform_get_drvdata(pdev); 648 struct mrstouch_dev *tsdev = platform_get_drvdata(pdev);
649 649
diff --git a/drivers/input/touchscreen/jornada720_ts.c b/drivers/input/touchscreen/jornada720_ts.c
index 7ef90def6b0b..282d7c7ad2fc 100644
--- a/drivers/input/touchscreen/jornada720_ts.c
+++ b/drivers/input/touchscreen/jornada720_ts.c
@@ -151,7 +151,7 @@ static int jornada720_ts_probe(struct platform_device *pdev)
151 return error; 151 return error;
152} 152}
153 153
154static int __devexit jornada720_ts_remove(struct platform_device *pdev) 154static int jornada720_ts_remove(struct platform_device *pdev)
155{ 155{
156 struct jornada_ts *jornada_ts = platform_get_drvdata(pdev); 156 struct jornada_ts *jornada_ts = platform_get_drvdata(pdev);
157 157
diff --git a/drivers/input/touchscreen/lpc32xx_ts.c b/drivers/input/touchscreen/lpc32xx_ts.c
index 39d50b7d470a..9101ee529c92 100644
--- a/drivers/input/touchscreen/lpc32xx_ts.c
+++ b/drivers/input/touchscreen/lpc32xx_ts.c
@@ -309,7 +309,7 @@ err_free_mem:
309 return error; 309 return error;
310} 310}
311 311
312static int __devexit lpc32xx_ts_remove(struct platform_device *pdev) 312static int lpc32xx_ts_remove(struct platform_device *pdev)
313{ 313{
314 struct lpc32xx_tsc *tsc = platform_get_drvdata(pdev); 314 struct lpc32xx_tsc *tsc = platform_get_drvdata(pdev);
315 struct resource *res; 315 struct resource *res;
diff --git a/drivers/input/touchscreen/max11801_ts.c b/drivers/input/touchscreen/max11801_ts.c
index ac06db6a7b05..00bc6caa27f5 100644
--- a/drivers/input/touchscreen/max11801_ts.c
+++ b/drivers/input/touchscreen/max11801_ts.c
@@ -228,7 +228,7 @@ err_free_mem:
228 return error; 228 return error;
229} 229}
230 230
231static __devexit int max11801_ts_remove(struct i2c_client *client) 231static int max11801_ts_remove(struct i2c_client *client)
232{ 232{
233 struct max11801_data *data = i2c_get_clientdata(client); 233 struct max11801_data *data = i2c_get_clientdata(client);
234 234
diff --git a/drivers/input/touchscreen/mc13783_ts.c b/drivers/input/touchscreen/mc13783_ts.c
index 5c18c5cb9f7a..02103b6abb39 100644
--- a/drivers/input/touchscreen/mc13783_ts.c
+++ b/drivers/input/touchscreen/mc13783_ts.c
@@ -229,7 +229,7 @@ err_free_mem:
229 return ret; 229 return ret;
230} 230}
231 231
232static int __devexit mc13783_ts_remove(struct platform_device *pdev) 232static int mc13783_ts_remove(struct platform_device *pdev)
233{ 233{
234 struct mc13783_ts_priv *priv = platform_get_drvdata(pdev); 234 struct mc13783_ts_priv *priv = platform_get_drvdata(pdev);
235 235
diff --git a/drivers/input/touchscreen/mcs5000_ts.c b/drivers/input/touchscreen/mcs5000_ts.c
index c9da87bd2570..f9f4e0c56eda 100644
--- a/drivers/input/touchscreen/mcs5000_ts.c
+++ b/drivers/input/touchscreen/mcs5000_ts.c
@@ -249,7 +249,7 @@ err_free_mem:
249 return ret; 249 return ret;
250} 250}
251 251
252static int __devexit mcs5000_ts_remove(struct i2c_client *client) 252static int mcs5000_ts_remove(struct i2c_client *client)
253{ 253{
254 struct mcs5000_ts_data *data = i2c_get_clientdata(client); 254 struct mcs5000_ts_data *data = i2c_get_clientdata(client);
255 255
diff --git a/drivers/input/touchscreen/mms114.c b/drivers/input/touchscreen/mms114.c
index 633737e14e47..98841d8aa635 100644
--- a/drivers/input/touchscreen/mms114.c
+++ b/drivers/input/touchscreen/mms114.c
@@ -508,7 +508,7 @@ err_free_mem:
508 return error; 508 return error;
509} 509}
510 510
511static int __devexit mms114_remove(struct i2c_client *client) 511static int mms114_remove(struct i2c_client *client)
512{ 512{
513 struct mms114_data *data = i2c_get_clientdata(client); 513 struct mms114_data *data = i2c_get_clientdata(client);
514 514
diff --git a/drivers/input/touchscreen/pcap_ts.c b/drivers/input/touchscreen/pcap_ts.c
index 900dc78be08d..f22e04dd4e16 100644
--- a/drivers/input/touchscreen/pcap_ts.c
+++ b/drivers/input/touchscreen/pcap_ts.c
@@ -202,7 +202,7 @@ fail:
202 return err; 202 return err;
203} 203}
204 204
205static int __devexit pcap_ts_remove(struct platform_device *pdev) 205static int pcap_ts_remove(struct platform_device *pdev)
206{ 206{
207 struct pcap_ts *pcap_ts = platform_get_drvdata(pdev); 207 struct pcap_ts *pcap_ts = platform_get_drvdata(pdev);
208 208
diff --git a/drivers/input/touchscreen/pixcir_i2c_ts.c b/drivers/input/touchscreen/pixcir_i2c_ts.c
index cffea4c368ad..6cc6b36663ff 100644
--- a/drivers/input/touchscreen/pixcir_i2c_ts.c
+++ b/drivers/input/touchscreen/pixcir_i2c_ts.c
@@ -189,7 +189,7 @@ err_free_mem:
189 return error; 189 return error;
190} 190}
191 191
192static int __devexit pixcir_i2c_ts_remove(struct i2c_client *client) 192static int pixcir_i2c_ts_remove(struct i2c_client *client)
193{ 193{
194 struct pixcir_i2c_ts_data *tsdata = i2c_get_clientdata(client); 194 struct pixcir_i2c_ts_data *tsdata = i2c_get_clientdata(client);
195 195
diff --git a/drivers/input/touchscreen/s3c2410_ts.c b/drivers/input/touchscreen/s3c2410_ts.c
index 8f2f22b612a0..b061af2c8376 100644
--- a/drivers/input/touchscreen/s3c2410_ts.c
+++ b/drivers/input/touchscreen/s3c2410_ts.c
@@ -365,7 +365,7 @@ static int s3c2410ts_probe(struct platform_device *pdev)
365 * 365 *
366 * Free up our state ready to be removed. 366 * Free up our state ready to be removed.
367 */ 367 */
368static int __devexit s3c2410ts_remove(struct platform_device *pdev) 368static int s3c2410ts_remove(struct platform_device *pdev)
369{ 369{
370 free_irq(ts.irq_tc, ts.input); 370 free_irq(ts.irq_tc, ts.input);
371 del_timer_sync(&touch_timer); 371 del_timer_sync(&touch_timer);
diff --git a/drivers/input/touchscreen/st1232.c b/drivers/input/touchscreen/st1232.c
index 2a71dfde301c..d9d05e222428 100644
--- a/drivers/input/touchscreen/st1232.c
+++ b/drivers/input/touchscreen/st1232.c
@@ -206,7 +206,7 @@ err_free_mem:
206 return error; 206 return error;
207} 207}
208 208
209static int __devexit st1232_ts_remove(struct i2c_client *client) 209static int st1232_ts_remove(struct i2c_client *client)
210{ 210{
211 struct st1232_ts_data *ts = i2c_get_clientdata(client); 211 struct st1232_ts_data *ts = i2c_get_clientdata(client);
212 212
diff --git a/drivers/input/touchscreen/stmpe-ts.c b/drivers/input/touchscreen/stmpe-ts.c
index 011b686798dc..84d884b4ec3e 100644
--- a/drivers/input/touchscreen/stmpe-ts.c
+++ b/drivers/input/touchscreen/stmpe-ts.c
@@ -371,7 +371,7 @@ static int stmpe_input_probe(struct platform_device *pdev)
371 return 0; 371 return 0;
372} 372}
373 373
374static int __devexit stmpe_ts_remove(struct platform_device *pdev) 374static int stmpe_ts_remove(struct platform_device *pdev)
375{ 375{
376 struct stmpe_touch *ts = platform_get_drvdata(pdev); 376 struct stmpe_touch *ts = platform_get_drvdata(pdev);
377 377
diff --git a/drivers/input/touchscreen/tnetv107x-ts.c b/drivers/input/touchscreen/tnetv107x-ts.c
index 63f75ebb3281..acfb87607b87 100644
--- a/drivers/input/touchscreen/tnetv107x-ts.c
+++ b/drivers/input/touchscreen/tnetv107x-ts.c
@@ -357,7 +357,7 @@ error_res:
357 return error; 357 return error;
358} 358}
359 359
360static int __devexit tsc_remove(struct platform_device *pdev) 360static int tsc_remove(struct platform_device *pdev)
361{ 361{
362 struct tsc_data *ts = platform_get_drvdata(pdev); 362 struct tsc_data *ts = platform_get_drvdata(pdev);
363 363
diff --git a/drivers/input/touchscreen/tps6507x-ts.c b/drivers/input/touchscreen/tps6507x-ts.c
index e1ec9e074ed3..820a066c3b8a 100644
--- a/drivers/input/touchscreen/tps6507x-ts.c
+++ b/drivers/input/touchscreen/tps6507x-ts.c
@@ -345,7 +345,7 @@ err0:
345 return error; 345 return error;
346} 346}
347 347
348static int __devexit tps6507x_ts_remove(struct platform_device *pdev) 348static int tps6507x_ts_remove(struct platform_device *pdev)
349{ 349{
350 struct tps6507x_dev *tps6507x_dev = platform_get_drvdata(pdev); 350 struct tps6507x_dev *tps6507x_dev = platform_get_drvdata(pdev);
351 struct tps6507x_ts *tsc = tps6507x_dev->ts; 351 struct tps6507x_ts *tsc = tps6507x_dev->ts;
diff --git a/drivers/input/touchscreen/tsc2005.c b/drivers/input/touchscreen/tsc2005.c
index 20889305d46c..9c0cdc7ea449 100644
--- a/drivers/input/touchscreen/tsc2005.c
+++ b/drivers/input/touchscreen/tsc2005.c
@@ -686,7 +686,7 @@ err_free_mem:
686 return error; 686 return error;
687} 687}
688 688
689static int __devexit tsc2005_remove(struct spi_device *spi) 689static int tsc2005_remove(struct spi_device *spi)
690{ 690{
691 struct tsc2005 *ts = spi_get_drvdata(spi); 691 struct tsc2005 *ts = spi_get_drvdata(spi);
692 692
diff --git a/drivers/input/touchscreen/tsc2007.c b/drivers/input/touchscreen/tsc2007.c
index 47b41eb0e38f..0b67ba476b4c 100644
--- a/drivers/input/touchscreen/tsc2007.c
+++ b/drivers/input/touchscreen/tsc2007.c
@@ -366,7 +366,7 @@ static int tsc2007_probe(struct i2c_client *client,
366 return err; 366 return err;
367} 367}
368 368
369static int __devexit tsc2007_remove(struct i2c_client *client) 369static int tsc2007_remove(struct i2c_client *client)
370{ 370{
371 struct tsc2007 *ts = i2c_get_clientdata(client); 371 struct tsc2007 *ts = i2c_get_clientdata(client);
372 struct tsc2007_platform_data *pdata = client->dev.platform_data; 372 struct tsc2007_platform_data *pdata = client->dev.platform_data;
diff --git a/drivers/input/touchscreen/ucb1400_ts.c b/drivers/input/touchscreen/ucb1400_ts.c
index 518363d01c2f..1271f97b4079 100644
--- a/drivers/input/touchscreen/ucb1400_ts.c
+++ b/drivers/input/touchscreen/ucb1400_ts.c
@@ -397,7 +397,7 @@ err:
397 return error; 397 return error;
398} 398}
399 399
400static int __devexit ucb1400_ts_remove(struct platform_device *pdev) 400static int ucb1400_ts_remove(struct platform_device *pdev)
401{ 401{
402 struct ucb1400_ts *ucb = pdev->dev.platform_data; 402 struct ucb1400_ts *ucb = pdev->dev.platform_data;
403 403
diff --git a/drivers/input/touchscreen/w90p910_ts.c b/drivers/input/touchscreen/w90p910_ts.c
index f0378a9dc93e..d2ef8f05c66e 100644
--- a/drivers/input/touchscreen/w90p910_ts.c
+++ b/drivers/input/touchscreen/w90p910_ts.c
@@ -301,7 +301,7 @@ fail1: input_free_device(input_dev);
301 return err; 301 return err;
302} 302}
303 303
304static int __devexit w90x900ts_remove(struct platform_device *pdev) 304static int w90x900ts_remove(struct platform_device *pdev)
305{ 305{
306 struct w90p910_ts *w90p910_ts = platform_get_drvdata(pdev); 306 struct w90p910_ts *w90p910_ts = platform_get_drvdata(pdev);
307 struct resource *res; 307 struct resource *res;
diff --git a/drivers/input/touchscreen/wacom_i2c.c b/drivers/input/touchscreen/wacom_i2c.c
index bb02ccd51008..bf0d07620bac 100644
--- a/drivers/input/touchscreen/wacom_i2c.c
+++ b/drivers/input/touchscreen/wacom_i2c.c
@@ -225,7 +225,7 @@ err_free_mem:
225 return error; 225 return error;
226} 226}
227 227
228static int __devexit wacom_i2c_remove(struct i2c_client *client) 228static int wacom_i2c_remove(struct i2c_client *client)
229{ 229{
230 struct wacom_i2c *wac_i2c = i2c_get_clientdata(client); 230 struct wacom_i2c *wac_i2c = i2c_get_clientdata(client);
231 231
diff --git a/drivers/input/touchscreen/wm831x-ts.c b/drivers/input/touchscreen/wm831x-ts.c
index 28d81256ec69..f88fab56178c 100644
--- a/drivers/input/touchscreen/wm831x-ts.c
+++ b/drivers/input/touchscreen/wm831x-ts.c
@@ -381,7 +381,7 @@ err_alloc:
381 return error; 381 return error;
382} 382}
383 383
384static __devexit int wm831x_ts_remove(struct platform_device *pdev) 384static int wm831x_ts_remove(struct platform_device *pdev)
385{ 385{
386 struct wm831x_ts *wm831x_ts = platform_get_drvdata(pdev); 386 struct wm831x_ts *wm831x_ts = platform_get_drvdata(pdev);
387 387