diff options
author | Bill Pemberton <wfp5p@virginia.edu> | 2012-11-24 00:50:47 -0500 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2012-11-24 03:05:38 -0500 |
commit | e2619cf78e19476bfd7ceaefa9eff0847529346e (patch) | |
tree | e1eec6ea5d420491e9afc18a4d604f7c33c325de /drivers/input | |
parent | 5298cc4cc753bbe4c530b41341834f6ef3344d0d (diff) |
Input: remove use of __devexit
CONFIG_HOTPLUG is going away as an option so __devexit is no
longer needed.
Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input')
141 files changed, 149 insertions, 149 deletions
diff --git a/drivers/input/gameport/emu10k1-gp.c b/drivers/input/gameport/emu10k1-gp.c index 786fa316c65..fa7a95c1da0 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 | ||
110 | static void __devexit emu_remove(struct pci_dev *pdev) | 110 | static 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 b1705e17020..ae912d3aee4 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 | ||
132 | static void __devexit fm801_gp_remove(struct pci_dev *pci) | 132 | static 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 ad7673305d7..121cd63d333 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 | ||
344 | static int __devexit as5011_remove(struct i2c_client *client) | 344 | static 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 5ff3cb4a6de..59c10ec5a2a 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 | ||
160 | static int __devexit remove_maple_controller(struct device *dev) | 160 | static 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 64de9652398..ef26b17fb15 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 | ||
185 | static int __devexit adp5520_keys_remove(struct platform_device *pdev) | 185 | static 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 a20fe70ffa8..dbd2047f164 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 | ||
227 | static void __devexit adp5588_gpio_remove(struct adp5588_kpad *kpad) | 227 | static 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 | ||
590 | static int __devexit adp5588_remove(struct i2c_client *client) | 590 | static 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 8f591da17de..67d12b3427c 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 | ||
553 | static void __devexit adp5589_gpio_remove(struct adp5589_kpad *kpad) | 553 | static 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 | ||
1047 | static int __devexit adp5589_remove(struct i2c_client *client) | 1047 | static 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 8f3c2b66538..20b9fa91fb9 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 | ||
334 | static int __devexit bfin_kpad_remove(struct platform_device *pdev) | 334 | static 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 8e4b438ddc8..4e4e453ea15 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 | ||
306 | static int __devexit davinci_ks_remove(struct platform_device *pdev) | 306 | static 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 30c00082ed9..9857e8fd098 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 | ||
349 | static int __devexit ep93xx_keypad_remove(struct platform_device *pdev) | 349 | static 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 c714c585c30..1a5cb6f34f4 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 | ||
763 | static int __devexit gpio_keys_remove(struct platform_device *pdev) | 763 | static 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 8c09ce244aa..32e508781dd 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 | ||
331 | static int __devexit gpio_keys_polled_remove(struct platform_device *pdev) | 331 | static 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 a5da05ac609..198dc07a1be 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 | ||
289 | static void __devexit hil_keyb_exit(void) | 289 | static 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 | ||
323 | static int __devexit hil_remove_chip(struct parisc_device *dev) | 323 | static 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 d4d95428c27..7ad74517654 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 | ||
557 | static int __devexit imx_keypad_remove(struct platform_device *pdev) | 557 | static 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 eac650c26ad..74e75a6e8de 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 | ||
243 | static int __devexit jornada680kbd_remove(struct platform_device *pdev) | 243 | static 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 2f08a03e7cb..5ceef636df2 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 | ||
155 | static int __devexit jornada720_kbd_remove(struct platform_device *pdev) | 155 | static 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 ee0116b0a42..93c81266213 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 | ||
767 | static int __devexit lm8323_remove(struct i2c_client *client) | 767 | static 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 9fc03727d61..5a8ca35dc9a 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 | ||
205 | static int __devexit lm8333_remove(struct i2c_client *client) | 205 | static 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 e2892466f3c..c94d610b9d7 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 | ||
324 | static int __devexit locomokbd_remove(struct locomo_dev *dev) | 324 | static 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 72f8a0be82e..1b8add6cfb9 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 | ||
313 | static int __devexit lpc32xx_kscan_remove(struct platform_device *pdev) | 313 | static 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 b9d67c2f30d..f4ff0dda759 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 | ||
542 | static int __devexit matrix_keypad_remove(struct platform_device *pdev) | 542 | static 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 98b8ff10e6f..7c7af2b01e6 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 | ||
263 | static int __devexit max7359_remove(struct i2c_client *client) | 263 | static 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 e729774cecd..7c236f9c6a5 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 | ||
203 | static int __devexit mcs_touchkey_remove(struct i2c_client *client) | 203 | static 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 854486c347f..f7f3e9a9fd3 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 | ||
275 | static int __devexit mpr_touchkey_remove(struct i2c_client *client) | 275 | static 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 2304a8192cf..0e6a8151fee 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 | ||
369 | static int __devexit ske_keypad_remove(struct platform_device *pdev) | 369 | static 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 ffb8c6c1c5d..d0d5226d9cd 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 | ||
360 | static int __devexit omap_kp_remove(struct platform_device *pdev) | 360 | static 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 c16a3229968..e25b022692c 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 | ||
409 | static int __devexit omap4_keypad_remove(struct platform_device *pdev) | 409 | static 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 ddc1c39c0c3..7ac5f174c6f 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 | ||
142 | static int __devexit opencores_kbd_remove(struct platform_device *pdev) | 142 | static 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 fa177aba5db..74339e139d4 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 | ||
715 | static int __devexit pmic8xxx_kp_remove(struct platform_device *pdev) | 715 | static 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 91778fee8b9..5330d8fbf6c 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 | ||
598 | static int __devexit pxa27x_keypad_remove(struct platform_device *pdev) | 598 | static 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 60797c22322..bcad95be73a 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 | ||
177 | static int __devexit pxa930_rotary_remove(struct platform_device *pdev) | 177 | static 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 f9358e7d90b..42b773b3125 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 | ||
233 | static int __devexit qt1070_remove(struct i2c_client *client) | 233 | static 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 69a6a6ffdbe..3dc2b0f27b0 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 | ||
338 | static int __devexit qt2160_remove(struct i2c_client *client) | 338 | static 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 5c6a808ed62..acc161966c3 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 | ||
526 | static int __devexit samsung_keypad_remove(struct platform_device *pdev) | 526 | static 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 ffa9adb23f2..fdb9eb2df38 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 | ||
275 | static int __devexit sh_keysc_remove(struct platform_device *pdev) | 275 | static 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 3c503dae7b6..d70093bef74 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 | ||
282 | static int __devexit spear_kbd_remove(struct platform_device *pdev) | 282 | static 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 b3f917d73cd..7bac0524900 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 | ||
338 | static int __devexit stmpe_keypad_remove(struct platform_device *pdev) | 338 | static 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 6d725d633ae..2fb0d76a04c 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 | ||
385 | static int __devexit tc3589x_keypad_remove(struct platform_device *pdev) | 385 | static 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 4f44579689a..bfc832c35a7 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 | ||
316 | static int __devexit tca6416_keypad_remove(struct i2c_client *client) | 316 | static 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 6f970961f24..f1e966bdcff 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 | ||
391 | static int __devexit tca8418_keypad_remove(struct i2c_client *client) | 391 | static 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 cf8ab689231..c76f96872d3 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 | ||
841 | static int __devexit tegra_kbc_remove(struct platform_device *pdev) | 841 | static 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 55cd0700af8..ee163501129 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 | ||
304 | static int __devexit keypad_remove(struct platform_device *pdev) | 304 | static 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 78dd9f27dd8..04f84fd5717 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 | ||
435 | static int __devexit twl4030_kp_remove(struct platform_device *pdev) | 435 | static 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 7574e10ef09..ee163bee8cc 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 | ||
237 | static int __devexit w90p910_keypad_remove(struct platform_device *pdev) | 237 | static 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 946edcadfb2..ee43e5b7c88 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 | ||
142 | static int __devexit pm80x_onkey_remove(struct platform_device *pdev) | 142 | static 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 81af2d70e5d..abd8453e521 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 | ||
124 | static int __devexit pm860x_onkey_remove(struct platform_device *pdev) | 124 | static 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 f188222d208..2f090b46e71 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 | ||
121 | static int __devexit ab8500_ponkey_remove(struct platform_device *pdev) | 121 | static 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 9477602c721..29d2064c26f 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 | ||
90 | static int __devexit ad714x_i2c_remove(struct i2c_client *client) | 90 | static 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 497871e506f..bdccca42d13 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 | ||
106 | static int __devexit ad714x_spi_remove(struct spi_device *spi) | 106 | static 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 e262885f62d..535dda48cac 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 | ||
101 | static int __devexit adxl34x_i2c_remove(struct i2c_client *client) | 101 | static 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 1071d252df0..ad5f40d37e4 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 | ||
90 | static int __devexit adxl34x_spi_remove(struct spi_device *spi) | 90 | static 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 9cb4a74a479..a6666e142a9 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 | ||
199 | static int __devexit bfin_rotary_remove(struct platform_device *pdev) | 199 | static 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 a3219c2a385..08ffcabd722 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 | ||
616 | static int __devexit bma150_remove(struct i2c_client *client) | 616 | static 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 ca2103efaf1..4fdef98ceb5 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 | ||
72 | static int __devexit cma3000_i2c_remove(struct i2c_client *client) | 72 | static 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 beeb53dc073..4f77f87847e 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 | ||
138 | static int __devexit cobalt_buttons_remove(struct platform_device *pdev) | 138 | static 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 8464029972d..630c1ce4980 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 | ||
144 | static int __devexit da9052_onkey_remove(struct platform_device *pdev) | 144 | static 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 cbf49893450..ee6ae3a0017 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 | ||
144 | static int __devexit da9055_onkey_remove(struct platform_device *pdev) | 144 | static 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 5409ab7684b..a309a5c0899 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 | ||
242 | static int __devexit dm355evm_keys_remove(struct platform_device *pdev) | 242 | static 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 8ad99be5e5c..fe30bd0fe4b 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 | ||
208 | static int __devexit gp2a_remove(struct i2c_client *client) | 208 | static 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 467884be3b3..da05cca8b56 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 | ||
182 | static int __devexit gpio_tilt_polled_remove(struct platform_device *pdev) | 182 | static 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 97620d56ac0..6ab3decc86e 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 | ||
135 | static int __devexit ixp4xx_spkr_remove(struct platform_device *dev) | 135 | static 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 57f1f128416..a993b67a8a5 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 | ||
469 | static void __devexit kxtj9_teardown_polled_device(struct kxtj9_data *tj9) | 469 | static 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 | ||
597 | static int __devexit kxtj9_remove(struct i2c_client *client) | 597 | static 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 ec8f59dcb46..b40ee4b47f4 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 | ||
83 | static int __devexit m68kspkr_remove(struct platform_device *dev) | 83 | static 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 57bc42c92d4..369a39de4ff 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 | ||
144 | static int __devexit max8925_onkey_remove(struct platform_device *pdev) | 144 | static 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 2613b2f3174..e973133212a 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 | ||
357 | static int __devexit max8997_haptic_remove(struct platform_device *pdev) | 357 | static 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 a50ad911c7f..0906ca593d5 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 | ||
233 | static int __devexit mc13783_pwrbutton_remove(struct platform_device *pdev) | 233 | static 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 d4528cc47f8..480557f14f2 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 | ||
215 | static int __devexit mma8450_remove(struct i2c_client *c) | 215 | static 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 ff600565654..dce0d95943c 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 | */ |
405 | static int __devexit mpu3050_remove(struct i2c_client *client) | 405 | static 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 56d03ac3a43..40ac9a5adf8 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 | ||
107 | static int __devexit pcap_keys_remove(struct platform_device *pdev) | 107 | static 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 8efb898863c..73b13ebabe5 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 | ||
96 | static int __devexit pcf50633_input_remove(struct platform_device *pdev) | 96 | static 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 dbe2093c284..e37392976fd 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 | ||
159 | static int __devexit pcf8574_kp_remove(struct i2c_client *client) | 159 | static 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 943b461aaf3..199db78acc4 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 | ||
98 | static int __devexit pcspkr_remove(struct platform_device *dev) | 98 | static 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 1ac2b1f548a..a9da65e41c5 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 | ||
245 | static int __devexit pm8xxx_vib_remove(struct platform_device *pdev) | 245 | static 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 26e49acefa9..4b811be7397 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 | ||
190 | static int __devexit pmic8xxx_pwrkey_remove(struct platform_device *pdev) | 190 | static 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 48b505bddb1..0808868461d 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 | ||
132 | static int __devexit pwm_beeper_remove(struct platform_device *pdev) | 132 | static 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 91f71d6be57..fb4f8ac3343 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 | ||
84 | static int __devexit rb532_button_remove(struct platform_device *pdev) | 84 | static 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 389e84e26a9..7ca09baa001 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 | ||
79 | static int __devexit retu_pwrbutton_remove(struct platform_device *pdev) | 79 | static 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 cd3c363f7e2..aff47b2c38f 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 | ||
304 | static int __devexit rotary_encoder_remove(struct platform_device *pdev) | 304 | static 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 22ccd3f3560..ad6415ceaf5 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 | ||
146 | static int __devexit sgi_buttons_remove(struct platform_device *pdev) | 146 | static 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 d0239b49639..a53586a7fbd 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 | ||
232 | static int __devexit bbc_remove(struct platform_device *op) | 232 | static 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 | ||
313 | static int __devexit grover_remove(struct platform_device *op) | 313 | static 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 21030266bb3..78eb6b30580 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 | ||
272 | static int __devexit twl4030_vibra_remove(struct platform_device *pdev) | 272 | static 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 4b650e43fdd..71a28ee699f 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 | ||
421 | static int __devexit twl6040_vibra_remove(struct platform_device *pdev) | 421 | static 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 46d79c51685..56536f4b957 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 | ||
1080 | static void __devexit wistron_led_remove(void) | 1080 | static 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 | ||
1280 | static int __devexit wistron_remove(struct platform_device *dev) | 1280 | static 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 de7751e1b13..558767d8ebf 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 | ||
127 | static int __devexit wm831x_on_remove(struct platform_device *pdev) | 127 | static 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 8e1fe82e16b..532eaca4cc5 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 | ||
153 | static int __devexit gpio_mouse_remove(struct platform_device *pdev) | 153 | static 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 3541f362866..0a60717b91c 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 | ||
117 | static int __devexit remove_maple_mouse(struct device *dev) | 117 | static 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 f51df6bfc52..8e1b98ea564 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 | ||
302 | static int __devexit navpoint_remove(struct platform_device *pdev) | 302 | static 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 ed808fce0ac..0ecb9e7945e 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 | ||
233 | static int __devexit pxa930_trkball_remove(struct platform_device *pdev) | 233 | static 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 007c378bd69..ad822608f6e 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 | ||
604 | static int __devexit synaptics_i2c_remove(struct i2c_client *client) | 604 | static 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 ea46ddcf2ed..479ce5fe895 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 | */ |
162 | static int __devexit altera_ps2_remove(struct platform_device *pdev) | 162 | static 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 7c502c391bb..4e2fd44865e 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 | ||
166 | static int __devexit amba_kmi_remove(struct amba_device *dev) | 166 | static 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 e618c2a825a..b571eb3e4ef 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 | ||
245 | static int __devexit arc_ps2_remove(struct platform_device *pdev) | 245 | static 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 e8a8748bae6..cfe549d4eaa 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 | ||
202 | static int __devexit ct82c710_remove(struct platform_device *dev) | 202 | static 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 a36a4667dda..8d9ba0c3827 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 | ||
417 | static int __devexit gscps2_remove(struct parisc_device *dev) | 417 | static 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 c1174857578..d6aa4c67dbb 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 | ||
83 | static int __devexit sparc_i8042_remove(struct platform_device *op) | 83 | static 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 2539195729b..78e4de42efa 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 | ||
1287 | static void __devexit i8042_unregister_ports(void) | 1287 | static 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 | ||
1440 | static int __devexit i8042_remove(struct platform_device *dev) | 1440 | static 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 057240e3a74..bc85e1cc66d 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 | ||
154 | static int __devexit maceps2_remove(struct platform_device *dev) | 154 | static 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 1914290674e..76f83836fd5 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 | ||
179 | static void __devexit pcips2_remove(struct pci_dev *dev) | 179 | static 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 3c58f6b2fe5..70fe542839f 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 | ||
171 | static int __devexit q40kbd_remove(struct platform_device *pdev) | 171 | static 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 d64f053ae3e..567566ae0da 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 | ||
156 | static int __devexit rpckbd_remove(struct platform_device *dev) | 156 | static 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 4458ec3b1d2..b3e688911fd 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 | */ |
337 | static int __devexit ps2_remove(struct sa1111_dev *dev) | 337 | static 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 ed5e8e625bf..17be85948ff 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 | */ |
336 | static int __devexit xps2_of_remove(struct platform_device *of_dev) | 336 | static 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 183d35b9d07..c7068942ebe 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 | ||
296 | static int __devexit pm860x_touch_remove(struct platform_device *pdev) | 296 | static 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 61c0a98d6dd..23fa829b869 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 | ||
813 | static int __devexit ad7877_remove(struct spi_device *spi) | 813 | static 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 b155770c521..dcf39077154 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 | ||
78 | static int __devexit ad7879_i2c_remove(struct i2c_client *client) | 78 | static 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 c9b73e0b652..606da5bd611 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 | ||
140 | static int __devexit ad7879_spi_remove(struct spi_device *spi) | 140 | static 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 156a36b43bf..4f702b3ec1a 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 | ||
1393 | static int __devexit ads7846_remove(struct spi_device *spi) | 1393 | static 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 cd961bcf9f0..d04f810cb1d 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 | ||
1203 | static int __devexit mxt_remove(struct i2c_client *client) | 1203 | static 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 4b4f5ab76e5..55092d1c5cb 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 | ||
326 | static int __devexit atmel_tsadcc_remove(struct platform_device *pdev) | 326 | static 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 cdd233f3ed8..c6e19a96348 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 | ||
602 | static int __devexit auo_pixcir_remove(struct i2c_client *client) | 602 | static 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 bf90391aae5..59a8ce86fcd 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 | */ |
552 | static int __devexit bu21013_remove(struct i2c_client *client) | 552 | static 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 0aaa24ec6f5..96e0eedcc7e 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) | |||
323 | static SIMPLE_DEV_PM_OPS(cy8ctmg110_pm, cy8ctmg110_suspend, cy8ctmg110_resume); | 323 | static SIMPLE_DEV_PM_OPS(cy8ctmg110_pm, cy8ctmg110_suspend, cy8ctmg110_resume); |
324 | #endif | 324 | #endif |
325 | 325 | ||
326 | static int __devexit cy8ctmg110_remove(struct i2c_client *client) | 326 | static 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 167e9834e59..4dbdf44b8fc 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 | ||
105 | static int __devexit cyttsp_i2c_remove(struct i2c_client *client) | 105 | static 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 8ea29d9ae3b..638e20310f1 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 | ||
175 | static int __devexit cyttsp_spi_remove(struct spi_device *spi) | 175 | static 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 53a95244a14..34ad84105e6 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 | ||
364 | static int __devexit da9034_touch_remove(struct platform_device *pdev) | 364 | static 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 8a493b962db..303966ffe1e 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 | ||
339 | static int __devexit da9052_ts_remove(struct platform_device *pdev) | 339 | static 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 677e78804b7..a9170157b44 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 | ||
595 | static void __devexit | 595 | static void |
596 | edt_ft5x06_ts_teardown_debugfs(struct edt_ft5x06_ts_data *tsdata) | 596 | edt_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 | ||
825 | static int __devexit edt_ft5x06_ts_remove(struct i2c_client *client) | 825 | static 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 a65709959fa..55255a94007 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 | ||
251 | static int __devexit eeti_ts_remove(struct i2c_client *client) | 251 | static 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 f5e09ca1ffe..17c9097f3b5 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 | ||
249 | static __devexit int egalax_ts_remove(struct i2c_client *client) | 249 | static 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 32a451c89d5..6c4fb843695 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 | ||
177 | static int __devexit htcpen_isa_remove(struct device *dev, unsigned int id) | 177 | static 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 7e6221c9ea7..1418bdda61b 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 | ||
301 | static int __devexit ili210x_i2c_remove(struct i2c_client *client) | 301 | static 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 e413f3344ed..465db5dba8b 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 | ||
646 | static int __devexit mrstouch_remove(struct platform_device *pdev) | 646 | static 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 7ef90def6b0..282d7c7ad2f 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 | ||
154 | static int __devexit jornada720_ts_remove(struct platform_device *pdev) | 154 | static 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 39d50b7d470..9101ee529c9 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 | ||
312 | static int __devexit lpc32xx_ts_remove(struct platform_device *pdev) | 312 | static 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 ac06db6a7b0..00bc6caa27f 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 | ||
231 | static __devexit int max11801_ts_remove(struct i2c_client *client) | 231 | static 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 5c18c5cb9f7..02103b6abb3 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 | ||
232 | static int __devexit mc13783_ts_remove(struct platform_device *pdev) | 232 | static 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 c9da87bd257..f9f4e0c56ed 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 | ||
252 | static int __devexit mcs5000_ts_remove(struct i2c_client *client) | 252 | static 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 633737e14e4..98841d8aa63 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 | ||
511 | static int __devexit mms114_remove(struct i2c_client *client) | 511 | static 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 900dc78be08..f22e04dd4e1 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 | ||
205 | static int __devexit pcap_ts_remove(struct platform_device *pdev) | 205 | static 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 cffea4c368a..6cc6b36663f 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 | ||
192 | static int __devexit pixcir_i2c_ts_remove(struct i2c_client *client) | 192 | static 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 8f2f22b612a..b061af2c837 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 | */ |
368 | static int __devexit s3c2410ts_remove(struct platform_device *pdev) | 368 | static 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 2a71dfde301..d9d05e22242 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 | ||
209 | static int __devexit st1232_ts_remove(struct i2c_client *client) | 209 | static 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 011b686798d..84d884b4ec3 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 | ||
374 | static int __devexit stmpe_ts_remove(struct platform_device *pdev) | 374 | static 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 63f75ebb328..acfb87607b8 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 | ||
360 | static int __devexit tsc_remove(struct platform_device *pdev) | 360 | static 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 e1ec9e074ed..820a066c3b8 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 | ||
348 | static int __devexit tps6507x_ts_remove(struct platform_device *pdev) | 348 | static 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 20889305d46..9c0cdc7ea44 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 | ||
689 | static int __devexit tsc2005_remove(struct spi_device *spi) | 689 | static 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 47b41eb0e38..0b67ba476b4 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 | ||
369 | static int __devexit tsc2007_remove(struct i2c_client *client) | 369 | static 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 518363d01c2..1271f97b407 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 | ||
400 | static int __devexit ucb1400_ts_remove(struct platform_device *pdev) | 400 | static 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 f0378a9dc93..d2ef8f05c66 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 | ||
304 | static int __devexit w90x900ts_remove(struct platform_device *pdev) | 304 | static 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 bb02ccd5100..bf0d07620ba 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 | ||
228 | static int __devexit wacom_i2c_remove(struct i2c_client *client) | 228 | static 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 28d81256ec6..f88fab56178 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 | ||
384 | static __devexit int wm831x_ts_remove(struct platform_device *pdev) | 384 | static 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 | ||