diff options
author | Bill Pemberton <wfp5p@virginia.edu> | 2012-11-24 00:38:25 -0500 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2012-11-24 03:05:19 -0500 |
commit | 5298cc4cc753bbe4c530b41341834f6ef3344d0d (patch) | |
tree | 5dde0337622144b635a7dc199844ed5376794b09 /drivers/input | |
parent | 78f50c246f4286d40a1f42fecc779d47e40503a2 (diff) |
Input: remove use of __devinit
CONFIG_HOTPLUG is going away as an option so __devinit is no longer
needed.
Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Javier Martinez Canillas <javier@dowhile0.org>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input')
138 files changed, 234 insertions, 237 deletions
diff --git a/drivers/input/gameport/emu10k1-gp.c b/drivers/input/gameport/emu10k1-gp.c index c300089b5172..786fa316c65f 100644 --- a/drivers/input/gameport/emu10k1-gp.c +++ b/drivers/input/gameport/emu10k1-gp.c | |||
@@ -57,7 +57,7 @@ static const struct pci_device_id emu_tbl[] = { | |||
57 | 57 | ||
58 | MODULE_DEVICE_TABLE(pci, emu_tbl); | 58 | MODULE_DEVICE_TABLE(pci, emu_tbl); |
59 | 59 | ||
60 | static int __devinit emu_probe(struct pci_dev *pdev, const struct pci_device_id *ent) | 60 | static int emu_probe(struct pci_dev *pdev, const struct pci_device_id *ent) |
61 | { | 61 | { |
62 | struct emu *emu; | 62 | struct emu *emu; |
63 | struct gameport *port; | 63 | struct gameport *port; |
diff --git a/drivers/input/gameport/fm801-gp.c b/drivers/input/gameport/fm801-gp.c index e3ab458bfb8a..b1705e17020f 100644 --- a/drivers/input/gameport/fm801-gp.c +++ b/drivers/input/gameport/fm801-gp.c | |||
@@ -78,7 +78,7 @@ static int fm801_gp_open(struct gameport *gameport, int mode) | |||
78 | return 0; | 78 | return 0; |
79 | } | 79 | } |
80 | 80 | ||
81 | static int __devinit fm801_gp_probe(struct pci_dev *pci, const struct pci_device_id *id) | 81 | static int fm801_gp_probe(struct pci_dev *pci, const struct pci_device_id *id) |
82 | { | 82 | { |
83 | struct fm801_gp *gp; | 83 | struct fm801_gp *gp; |
84 | struct gameport *port; | 84 | struct gameport *port; |
diff --git a/drivers/input/joystick/as5011.c b/drivers/input/joystick/as5011.c index 94f332773aec..ad7673305d7d 100644 --- a/drivers/input/joystick/as5011.c +++ b/drivers/input/joystick/as5011.c | |||
@@ -157,7 +157,7 @@ out: | |||
157 | return IRQ_HANDLED; | 157 | return IRQ_HANDLED; |
158 | } | 158 | } |
159 | 159 | ||
160 | static int __devinit as5011_configure_chip(struct as5011_device *as5011, | 160 | static int as5011_configure_chip(struct as5011_device *as5011, |
161 | const struct as5011_platform_data *plat_dat) | 161 | const struct as5011_platform_data *plat_dat) |
162 | { | 162 | { |
163 | struct i2c_client *client = as5011->i2c_client; | 163 | struct i2c_client *client = as5011->i2c_client; |
@@ -225,8 +225,8 @@ static int __devinit as5011_configure_chip(struct as5011_device *as5011, | |||
225 | return 0; | 225 | return 0; |
226 | } | 226 | } |
227 | 227 | ||
228 | static int __devinit as5011_probe(struct i2c_client *client, | 228 | static int as5011_probe(struct i2c_client *client, |
229 | const struct i2c_device_id *id) | 229 | const struct i2c_device_id *id) |
230 | { | 230 | { |
231 | const struct as5011_platform_data *plat_data; | 231 | const struct as5011_platform_data *plat_data; |
232 | struct as5011_device *as5011; | 232 | struct as5011_device *as5011; |
diff --git a/drivers/input/joystick/maplecontrol.c b/drivers/input/joystick/maplecontrol.c index c84345704258..5ff3cb4a6de3 100644 --- a/drivers/input/joystick/maplecontrol.c +++ b/drivers/input/joystick/maplecontrol.c | |||
@@ -78,7 +78,7 @@ static void dc_pad_close(struct input_dev *dev) | |||
78 | } | 78 | } |
79 | 79 | ||
80 | /* allow the controller to be used */ | 80 | /* allow the controller to be used */ |
81 | static int __devinit probe_maple_controller(struct device *dev) | 81 | static int probe_maple_controller(struct device *dev) |
82 | { | 82 | { |
83 | static const short btn_bit[32] = { | 83 | static const short btn_bit[32] = { |
84 | BTN_C, BTN_B, BTN_A, BTN_START, -1, -1, -1, -1, | 84 | BTN_C, BTN_B, BTN_A, BTN_START, -1, -1, -1, -1, |
diff --git a/drivers/input/keyboard/adp5520-keys.c b/drivers/input/keyboard/adp5520-keys.c index 46796b26ff31..64de9652398f 100644 --- a/drivers/input/keyboard/adp5520-keys.c +++ b/drivers/input/keyboard/adp5520-keys.c | |||
@@ -69,7 +69,7 @@ static int adp5520_keys_notifier(struct notifier_block *nb, | |||
69 | return 0; | 69 | return 0; |
70 | } | 70 | } |
71 | 71 | ||
72 | static int __devinit adp5520_keys_probe(struct platform_device *pdev) | 72 | static int adp5520_keys_probe(struct platform_device *pdev) |
73 | { | 73 | { |
74 | struct adp5520_keys_platform_data *pdata = pdev->dev.platform_data; | 74 | struct adp5520_keys_platform_data *pdata = pdev->dev.platform_data; |
75 | struct input_dev *input; | 75 | struct input_dev *input; |
diff --git a/drivers/input/keyboard/adp5588-keys.c b/drivers/input/keyboard/adp5588-keys.c index 39c2a6d2c99f..a20fe70ffa83 100644 --- a/drivers/input/keyboard/adp5588-keys.c +++ b/drivers/input/keyboard/adp5588-keys.c | |||
@@ -145,7 +145,7 @@ static int adp5588_gpio_direction_output(struct gpio_chip *chip, | |||
145 | return ret; | 145 | return ret; |
146 | } | 146 | } |
147 | 147 | ||
148 | static int __devinit adp5588_build_gpiomap(struct adp5588_kpad *kpad, | 148 | static int adp5588_build_gpiomap(struct adp5588_kpad *kpad, |
149 | const struct adp5588_kpad_platform_data *pdata) | 149 | const struct adp5588_kpad_platform_data *pdata) |
150 | { | 150 | { |
151 | bool pin_used[ADP5588_MAXGPIO]; | 151 | bool pin_used[ADP5588_MAXGPIO]; |
@@ -170,7 +170,7 @@ static int __devinit adp5588_build_gpiomap(struct adp5588_kpad *kpad, | |||
170 | return n_unused; | 170 | return n_unused; |
171 | } | 171 | } |
172 | 172 | ||
173 | static int __devinit adp5588_gpio_add(struct adp5588_kpad *kpad) | 173 | static int adp5588_gpio_add(struct adp5588_kpad *kpad) |
174 | { | 174 | { |
175 | struct device *dev = &kpad->client->dev; | 175 | struct device *dev = &kpad->client->dev; |
176 | const struct adp5588_kpad_platform_data *pdata = dev->platform_data; | 176 | const struct adp5588_kpad_platform_data *pdata = dev->platform_data; |
@@ -319,7 +319,7 @@ static irqreturn_t adp5588_irq(int irq, void *handle) | |||
319 | return IRQ_HANDLED; | 319 | return IRQ_HANDLED; |
320 | } | 320 | } |
321 | 321 | ||
322 | static int __devinit adp5588_setup(struct i2c_client *client) | 322 | static int adp5588_setup(struct i2c_client *client) |
323 | { | 323 | { |
324 | const struct adp5588_kpad_platform_data *pdata = client->dev.platform_data; | 324 | const struct adp5588_kpad_platform_data *pdata = client->dev.platform_data; |
325 | const struct adp5588_gpio_platform_data *gpio_data = pdata->gpio_data; | 325 | const struct adp5588_gpio_platform_data *gpio_data = pdata->gpio_data; |
@@ -382,7 +382,7 @@ static int __devinit adp5588_setup(struct i2c_client *client) | |||
382 | return 0; | 382 | return 0; |
383 | } | 383 | } |
384 | 384 | ||
385 | static void __devinit adp5588_report_switch_state(struct adp5588_kpad *kpad) | 385 | static void adp5588_report_switch_state(struct adp5588_kpad *kpad) |
386 | { | 386 | { |
387 | int gpi_stat1 = adp5588_read(kpad->client, GPIO_DAT_STAT1); | 387 | int gpi_stat1 = adp5588_read(kpad->client, GPIO_DAT_STAT1); |
388 | int gpi_stat2 = adp5588_read(kpad->client, GPIO_DAT_STAT2); | 388 | int gpi_stat2 = adp5588_read(kpad->client, GPIO_DAT_STAT2); |
@@ -420,8 +420,8 @@ static void __devinit adp5588_report_switch_state(struct adp5588_kpad *kpad) | |||
420 | } | 420 | } |
421 | 421 | ||
422 | 422 | ||
423 | static int __devinit adp5588_probe(struct i2c_client *client, | 423 | static int adp5588_probe(struct i2c_client *client, |
424 | const struct i2c_device_id *id) | 424 | const struct i2c_device_id *id) |
425 | { | 425 | { |
426 | struct adp5588_kpad *kpad; | 426 | struct adp5588_kpad *kpad; |
427 | const struct adp5588_kpad_platform_data *pdata = client->dev.platform_data; | 427 | const struct adp5588_kpad_platform_data *pdata = client->dev.platform_data; |
diff --git a/drivers/input/keyboard/adp5589-keys.c b/drivers/input/keyboard/adp5589-keys.c index 6e0c2e3a6a8d..8f591da17deb 100644 --- a/drivers/input/keyboard/adp5589-keys.c +++ b/drivers/input/keyboard/adp5589-keys.c | |||
@@ -464,7 +464,7 @@ static int adp5589_gpio_direction_output(struct gpio_chip *chip, | |||
464 | return ret; | 464 | return ret; |
465 | } | 465 | } |
466 | 466 | ||
467 | static int __devinit adp5589_build_gpiomap(struct adp5589_kpad *kpad, | 467 | static int adp5589_build_gpiomap(struct adp5589_kpad *kpad, |
468 | const struct adp5589_kpad_platform_data *pdata) | 468 | const struct adp5589_kpad_platform_data *pdata) |
469 | { | 469 | { |
470 | bool pin_used[ADP5589_MAXGPIO]; | 470 | bool pin_used[ADP5589_MAXGPIO]; |
@@ -496,7 +496,7 @@ static int __devinit adp5589_build_gpiomap(struct adp5589_kpad *kpad, | |||
496 | return n_unused; | 496 | return n_unused; |
497 | } | 497 | } |
498 | 498 | ||
499 | static int __devinit adp5589_gpio_add(struct adp5589_kpad *kpad) | 499 | static int adp5589_gpio_add(struct adp5589_kpad *kpad) |
500 | { | 500 | { |
501 | struct device *dev = &kpad->client->dev; | 501 | struct device *dev = &kpad->client->dev; |
502 | const struct adp5589_kpad_platform_data *pdata = dev->platform_data; | 502 | const struct adp5589_kpad_platform_data *pdata = dev->platform_data; |
@@ -641,8 +641,7 @@ static irqreturn_t adp5589_irq(int irq, void *handle) | |||
641 | return IRQ_HANDLED; | 641 | return IRQ_HANDLED; |
642 | } | 642 | } |
643 | 643 | ||
644 | static int __devinit adp5589_get_evcode(struct adp5589_kpad *kpad, | 644 | static int adp5589_get_evcode(struct adp5589_kpad *kpad, unsigned short key) |
645 | unsigned short key) | ||
646 | { | 645 | { |
647 | int i; | 646 | int i; |
648 | 647 | ||
@@ -655,7 +654,7 @@ static int __devinit adp5589_get_evcode(struct adp5589_kpad *kpad, | |||
655 | return -EINVAL; | 654 | return -EINVAL; |
656 | } | 655 | } |
657 | 656 | ||
658 | static int __devinit adp5589_setup(struct adp5589_kpad *kpad) | 657 | static int adp5589_setup(struct adp5589_kpad *kpad) |
659 | { | 658 | { |
660 | struct i2c_client *client = kpad->client; | 659 | struct i2c_client *client = kpad->client; |
661 | const struct adp5589_kpad_platform_data *pdata = | 660 | const struct adp5589_kpad_platform_data *pdata = |
@@ -820,7 +819,7 @@ static int __devinit adp5589_setup(struct adp5589_kpad *kpad) | |||
820 | return 0; | 819 | return 0; |
821 | } | 820 | } |
822 | 821 | ||
823 | static void __devinit adp5589_report_switch_state(struct adp5589_kpad *kpad) | 822 | static void adp5589_report_switch_state(struct adp5589_kpad *kpad) |
824 | { | 823 | { |
825 | int gpi_stat_tmp, pin_loc; | 824 | int gpi_stat_tmp, pin_loc; |
826 | int i; | 825 | int i; |
@@ -860,8 +859,8 @@ static void __devinit adp5589_report_switch_state(struct adp5589_kpad *kpad) | |||
860 | input_sync(kpad->input); | 859 | input_sync(kpad->input); |
861 | } | 860 | } |
862 | 861 | ||
863 | static int __devinit adp5589_probe(struct i2c_client *client, | 862 | static int adp5589_probe(struct i2c_client *client, |
864 | const struct i2c_device_id *id) | 863 | const struct i2c_device_id *id) |
865 | { | 864 | { |
866 | struct adp5589_kpad *kpad; | 865 | struct adp5589_kpad *kpad; |
867 | const struct adp5589_kpad_platform_data *pdata = | 866 | const struct adp5589_kpad_platform_data *pdata = |
diff --git a/drivers/input/keyboard/bf54x-keys.c b/drivers/input/keyboard/bf54x-keys.c index 8a7909a87216..8f3c2b665382 100644 --- a/drivers/input/keyboard/bf54x-keys.c +++ b/drivers/input/keyboard/bf54x-keys.c | |||
@@ -177,7 +177,7 @@ static irqreturn_t bfin_kpad_isr(int irq, void *dev_id) | |||
177 | return IRQ_HANDLED; | 177 | return IRQ_HANDLED; |
178 | } | 178 | } |
179 | 179 | ||
180 | static int __devinit bfin_kpad_probe(struct platform_device *pdev) | 180 | static int bfin_kpad_probe(struct platform_device *pdev) |
181 | { | 181 | { |
182 | struct bf54x_kpad *bf54x_kpad; | 182 | struct bf54x_kpad *bf54x_kpad; |
183 | struct bfin_kpad_platform_data *pdata = pdev->dev.platform_data; | 183 | struct bfin_kpad_platform_data *pdata = pdev->dev.platform_data; |
diff --git a/drivers/input/keyboard/ep93xx_keypad.c b/drivers/input/keyboard/ep93xx_keypad.c index bdf326155960..30c00082ed90 100644 --- a/drivers/input/keyboard/ep93xx_keypad.c +++ b/drivers/input/keyboard/ep93xx_keypad.c | |||
@@ -232,7 +232,7 @@ static int ep93xx_keypad_resume(struct device *dev) | |||
232 | static SIMPLE_DEV_PM_OPS(ep93xx_keypad_pm_ops, | 232 | static SIMPLE_DEV_PM_OPS(ep93xx_keypad_pm_ops, |
233 | ep93xx_keypad_suspend, ep93xx_keypad_resume); | 233 | ep93xx_keypad_suspend, ep93xx_keypad_resume); |
234 | 234 | ||
235 | static int __devinit ep93xx_keypad_probe(struct platform_device *pdev) | 235 | static int ep93xx_keypad_probe(struct platform_device *pdev) |
236 | { | 236 | { |
237 | struct ep93xx_keypad *keypad; | 237 | struct ep93xx_keypad *keypad; |
238 | const struct matrix_keymap_data *keymap_data; | 238 | const struct matrix_keymap_data *keymap_data; |
diff --git a/drivers/input/keyboard/gpio_keys.c b/drivers/input/keyboard/gpio_keys.c index 96b5ac5998f1..c714c585c307 100644 --- a/drivers/input/keyboard/gpio_keys.c +++ b/drivers/input/keyboard/gpio_keys.c | |||
@@ -423,10 +423,10 @@ out: | |||
423 | return IRQ_HANDLED; | 423 | return IRQ_HANDLED; |
424 | } | 424 | } |
425 | 425 | ||
426 | static int __devinit gpio_keys_setup_key(struct platform_device *pdev, | 426 | static int gpio_keys_setup_key(struct platform_device *pdev, |
427 | struct input_dev *input, | 427 | struct input_dev *input, |
428 | struct gpio_button_data *bdata, | 428 | struct gpio_button_data *bdata, |
429 | const struct gpio_keys_button *button) | 429 | const struct gpio_keys_button *button) |
430 | { | 430 | { |
431 | const char *desc = button->desc ? button->desc : "gpio_keys"; | 431 | const char *desc = button->desc ? button->desc : "gpio_keys"; |
432 | struct device *dev = &pdev->dev; | 432 | struct device *dev = &pdev->dev; |
@@ -551,7 +551,7 @@ static void gpio_keys_close(struct input_dev *input) | |||
551 | /* | 551 | /* |
552 | * Translate OpenFirmware node properties into platform_data | 552 | * Translate OpenFirmware node properties into platform_data |
553 | */ | 553 | */ |
554 | static struct gpio_keys_platform_data * __devinit | 554 | static struct gpio_keys_platform_data * |
555 | gpio_keys_get_devtree_pdata(struct device *dev) | 555 | gpio_keys_get_devtree_pdata(struct device *dev) |
556 | { | 556 | { |
557 | struct device_node *node, *pp; | 557 | struct device_node *node, *pp; |
@@ -658,7 +658,7 @@ static void gpio_remove_key(struct gpio_button_data *bdata) | |||
658 | gpio_free(bdata->button->gpio); | 658 | gpio_free(bdata->button->gpio); |
659 | } | 659 | } |
660 | 660 | ||
661 | static int __devinit gpio_keys_probe(struct platform_device *pdev) | 661 | static int gpio_keys_probe(struct platform_device *pdev) |
662 | { | 662 | { |
663 | struct device *dev = &pdev->dev; | 663 | struct device *dev = &pdev->dev; |
664 | const struct gpio_keys_platform_data *pdata = dev_get_platdata(dev); | 664 | const struct gpio_keys_platform_data *pdata = dev_get_platdata(dev); |
diff --git a/drivers/input/keyboard/gpio_keys_polled.c b/drivers/input/keyboard/gpio_keys_polled.c index 922cbbdb5c84..8c09ce244aa2 100644 --- a/drivers/input/keyboard/gpio_keys_polled.c +++ b/drivers/input/keyboard/gpio_keys_polled.c | |||
@@ -103,8 +103,7 @@ static void gpio_keys_polled_close(struct input_polled_dev *dev) | |||
103 | } | 103 | } |
104 | 104 | ||
105 | #ifdef CONFIG_OF | 105 | #ifdef CONFIG_OF |
106 | static struct gpio_keys_platform_data * __devinit | 106 | static struct gpio_keys_platform_data *gpio_keys_polled_get_devtree_pdata(struct device *dev) |
107 | gpio_keys_polled_get_devtree_pdata(struct device *dev) | ||
108 | { | 107 | { |
109 | struct device_node *node, *pp; | 108 | struct device_node *node, *pp; |
110 | struct gpio_keys_platform_data *pdata; | 109 | struct gpio_keys_platform_data *pdata; |
@@ -196,7 +195,7 @@ gpio_keys_polled_get_devtree_pdata(struct device *dev) | |||
196 | } | 195 | } |
197 | #endif | 196 | #endif |
198 | 197 | ||
199 | static int __devinit gpio_keys_polled_probe(struct platform_device *pdev) | 198 | static int gpio_keys_polled_probe(struct platform_device *pdev) |
200 | { | 199 | { |
201 | struct device *dev = &pdev->dev; | 200 | struct device *dev = &pdev->dev; |
202 | const struct gpio_keys_platform_data *pdata = dev_get_platdata(dev); | 201 | const struct gpio_keys_platform_data *pdata = dev_get_platdata(dev); |
diff --git a/drivers/input/keyboard/hilkbd.c b/drivers/input/keyboard/hilkbd.c index 97d3151232be..a5da05ac6094 100644 --- a/drivers/input/keyboard/hilkbd.c +++ b/drivers/input/keyboard/hilkbd.c | |||
@@ -200,7 +200,7 @@ static void hil_do(unsigned char cmd, unsigned char *data, unsigned int len) | |||
200 | 200 | ||
201 | 201 | ||
202 | /* initialize HIL */ | 202 | /* initialize HIL */ |
203 | static int __devinit hil_keyb_init(void) | 203 | static int hil_keyb_init(void) |
204 | { | 204 | { |
205 | unsigned char c; | 205 | unsigned char c; |
206 | unsigned int i, kbid; | 206 | unsigned int i, kbid; |
@@ -299,7 +299,7 @@ static void __devexit hil_keyb_exit(void) | |||
299 | } | 299 | } |
300 | 300 | ||
301 | #if defined(CONFIG_PARISC) | 301 | #if defined(CONFIG_PARISC) |
302 | static int __devinit hil_probe_chip(struct parisc_device *dev) | 302 | static int hil_probe_chip(struct parisc_device *dev) |
303 | { | 303 | { |
304 | /* Only allow one HIL keyboard */ | 304 | /* Only allow one HIL keyboard */ |
305 | if (hil_dev.dev) | 305 | if (hil_dev.dev) |
diff --git a/drivers/input/keyboard/imx_keypad.c b/drivers/input/keyboard/imx_keypad.c index 93c344137cc5..d4d95428c276 100644 --- a/drivers/input/keyboard/imx_keypad.c +++ b/drivers/input/keyboard/imx_keypad.c | |||
@@ -413,7 +413,7 @@ open_err: | |||
413 | return -EIO; | 413 | return -EIO; |
414 | } | 414 | } |
415 | 415 | ||
416 | static int __devinit imx_keypad_probe(struct platform_device *pdev) | 416 | static int imx_keypad_probe(struct platform_device *pdev) |
417 | { | 417 | { |
418 | const struct matrix_keymap_data *keymap_data = pdev->dev.platform_data; | 418 | const struct matrix_keymap_data *keymap_data = pdev->dev.platform_data; |
419 | struct imx_keypad *keypad; | 419 | struct imx_keypad *keypad; |
diff --git a/drivers/input/keyboard/jornada680_kbd.c b/drivers/input/keyboard/jornada680_kbd.c index bd1a9c365d11..eac650c26ad4 100644 --- a/drivers/input/keyboard/jornada680_kbd.c +++ b/drivers/input/keyboard/jornada680_kbd.c | |||
@@ -179,7 +179,7 @@ static void jornadakbd680_poll(struct input_polled_dev *dev) | |||
179 | memcpy(jornadakbd->old_scan, jornadakbd->new_scan, JORNADA_SCAN_SIZE); | 179 | memcpy(jornadakbd->old_scan, jornadakbd->new_scan, JORNADA_SCAN_SIZE); |
180 | } | 180 | } |
181 | 181 | ||
182 | static int __devinit jornada680kbd_probe(struct platform_device *pdev) | 182 | static int jornada680kbd_probe(struct platform_device *pdev) |
183 | { | 183 | { |
184 | struct jornadakbd *jornadakbd; | 184 | struct jornadakbd *jornadakbd; |
185 | struct input_polled_dev *poll_dev; | 185 | struct input_polled_dev *poll_dev; |
diff --git a/drivers/input/keyboard/jornada720_kbd.c b/drivers/input/keyboard/jornada720_kbd.c index 9771db1de01b..2f08a03e7cba 100644 --- a/drivers/input/keyboard/jornada720_kbd.c +++ b/drivers/input/keyboard/jornada720_kbd.c | |||
@@ -94,7 +94,7 @@ static irqreturn_t jornada720_kbd_interrupt(int irq, void *dev_id) | |||
94 | return IRQ_HANDLED; | 94 | return IRQ_HANDLED; |
95 | }; | 95 | }; |
96 | 96 | ||
97 | static int __devinit jornada720_kbd_probe(struct platform_device *pdev) | 97 | static int jornada720_kbd_probe(struct platform_device *pdev) |
98 | { | 98 | { |
99 | struct jornadakbd *jornadakbd; | 99 | struct jornadakbd *jornadakbd; |
100 | struct input_dev *input_dev; | 100 | struct input_dev *input_dev; |
diff --git a/drivers/input/keyboard/lm8323.c b/drivers/input/keyboard/lm8323.c index 87432859be52..ee0116b0a427 100644 --- a/drivers/input/keyboard/lm8323.c +++ b/drivers/input/keyboard/lm8323.c | |||
@@ -624,7 +624,7 @@ static ssize_t lm8323_set_disable(struct device *dev, | |||
624 | } | 624 | } |
625 | static DEVICE_ATTR(disable_kp, 0644, lm8323_show_disable, lm8323_set_disable); | 625 | static DEVICE_ATTR(disable_kp, 0644, lm8323_show_disable, lm8323_set_disable); |
626 | 626 | ||
627 | static int __devinit lm8323_probe(struct i2c_client *client, | 627 | static int lm8323_probe(struct i2c_client *client, |
628 | const struct i2c_device_id *id) | 628 | const struct i2c_device_id *id) |
629 | { | 629 | { |
630 | struct lm8323_platform_data *pdata = client->dev.platform_data; | 630 | struct lm8323_platform_data *pdata = client->dev.platform_data; |
diff --git a/drivers/input/keyboard/lm8333.c b/drivers/input/keyboard/lm8333.c index c76e488ce9bc..9fc03727d61d 100644 --- a/drivers/input/keyboard/lm8333.c +++ b/drivers/input/keyboard/lm8333.c | |||
@@ -128,7 +128,7 @@ static irqreturn_t lm8333_irq_thread(int irq, void *data) | |||
128 | return IRQ_HANDLED; | 128 | return IRQ_HANDLED; |
129 | } | 129 | } |
130 | 130 | ||
131 | static int __devinit lm8333_probe(struct i2c_client *client, | 131 | static int lm8333_probe(struct i2c_client *client, |
132 | const struct i2c_device_id *id) | 132 | const struct i2c_device_id *id) |
133 | { | 133 | { |
134 | const struct lm8333_platform_data *pdata = client->dev.platform_data; | 134 | const struct lm8333_platform_data *pdata = client->dev.platform_data; |
diff --git a/drivers/input/keyboard/locomokbd.c b/drivers/input/keyboard/locomokbd.c index dba900c54ce6..e2892466f3cc 100644 --- a/drivers/input/keyboard/locomokbd.c +++ b/drivers/input/keyboard/locomokbd.c | |||
@@ -236,7 +236,7 @@ static void locomokbd_close(struct input_dev *dev) | |||
236 | locomo_writel(r, locomokbd->base + LOCOMO_KIC); | 236 | locomo_writel(r, locomokbd->base + LOCOMO_KIC); |
237 | } | 237 | } |
238 | 238 | ||
239 | static int __devinit locomokbd_probe(struct locomo_dev *dev) | 239 | static int locomokbd_probe(struct locomo_dev *dev) |
240 | { | 240 | { |
241 | struct locomokbd *locomokbd; | 241 | struct locomokbd *locomokbd; |
242 | struct input_dev *input_dev; | 242 | struct input_dev *input_dev; |
diff --git a/drivers/input/keyboard/lpc32xx-keys.c b/drivers/input/keyboard/lpc32xx-keys.c index 8872ce62c9d8..72f8a0be82e1 100644 --- a/drivers/input/keyboard/lpc32xx-keys.c +++ b/drivers/input/keyboard/lpc32xx-keys.c | |||
@@ -139,7 +139,7 @@ static void lpc32xx_kscan_close(struct input_dev *dev) | |||
139 | clk_disable_unprepare(kscandat->clk); | 139 | clk_disable_unprepare(kscandat->clk); |
140 | } | 140 | } |
141 | 141 | ||
142 | static int __devinit lpc32xx_parse_dt(struct device *dev, | 142 | static int lpc32xx_parse_dt(struct device *dev, |
143 | struct lpc32xx_kscan_drv *kscandat) | 143 | struct lpc32xx_kscan_drv *kscandat) |
144 | { | 144 | { |
145 | struct device_node *np = dev->of_node; | 145 | struct device_node *np = dev->of_node; |
@@ -166,7 +166,7 @@ static int __devinit lpc32xx_parse_dt(struct device *dev, | |||
166 | return 0; | 166 | return 0; |
167 | } | 167 | } |
168 | 168 | ||
169 | static int __devinit lpc32xx_kscan_probe(struct platform_device *pdev) | 169 | static int lpc32xx_kscan_probe(struct platform_device *pdev) |
170 | { | 170 | { |
171 | struct lpc32xx_kscan_drv *kscandat; | 171 | struct lpc32xx_kscan_drv *kscandat; |
172 | struct input_dev *input; | 172 | struct input_dev *input; |
diff --git a/drivers/input/keyboard/matrix_keypad.c b/drivers/input/keyboard/matrix_keypad.c index ed2bacdf2ccb..b9d67c2f30d6 100644 --- a/drivers/input/keyboard/matrix_keypad.c +++ b/drivers/input/keyboard/matrix_keypad.c | |||
@@ -301,8 +301,8 @@ static int matrix_keypad_resume(struct device *dev) | |||
301 | static SIMPLE_DEV_PM_OPS(matrix_keypad_pm_ops, | 301 | static SIMPLE_DEV_PM_OPS(matrix_keypad_pm_ops, |
302 | matrix_keypad_suspend, matrix_keypad_resume); | 302 | matrix_keypad_suspend, matrix_keypad_resume); |
303 | 303 | ||
304 | static int __devinit matrix_keypad_init_gpio(struct platform_device *pdev, | 304 | static int matrix_keypad_init_gpio(struct platform_device *pdev, |
305 | struct matrix_keypad *keypad) | 305 | struct matrix_keypad *keypad) |
306 | { | 306 | { |
307 | const struct matrix_keypad_platform_data *pdata = keypad->pdata; | 307 | const struct matrix_keypad_platform_data *pdata = keypad->pdata; |
308 | int i, err; | 308 | int i, err; |
@@ -397,7 +397,7 @@ static void matrix_keypad_free_gpio(struct matrix_keypad *keypad) | |||
397 | } | 397 | } |
398 | 398 | ||
399 | #ifdef CONFIG_OF | 399 | #ifdef CONFIG_OF |
400 | static struct matrix_keypad_platform_data * __devinit | 400 | static struct matrix_keypad_platform_data * |
401 | matrix_keypad_parse_dt(struct device *dev) | 401 | matrix_keypad_parse_dt(struct device *dev) |
402 | { | 402 | { |
403 | struct matrix_keypad_platform_data *pdata; | 403 | struct matrix_keypad_platform_data *pdata; |
@@ -465,7 +465,7 @@ matrix_keypad_parse_dt(struct device *dev) | |||
465 | } | 465 | } |
466 | #endif | 466 | #endif |
467 | 467 | ||
468 | static int __devinit matrix_keypad_probe(struct platform_device *pdev) | 468 | static int matrix_keypad_probe(struct platform_device *pdev) |
469 | { | 469 | { |
470 | const struct matrix_keypad_platform_data *pdata; | 470 | const struct matrix_keypad_platform_data *pdata; |
471 | struct matrix_keypad *keypad; | 471 | struct matrix_keypad *keypad; |
diff --git a/drivers/input/keyboard/max7359_keypad.c b/drivers/input/keyboard/max7359_keypad.c index 90478d182bc8..98b8ff10e6f1 100644 --- a/drivers/input/keyboard/max7359_keypad.c +++ b/drivers/input/keyboard/max7359_keypad.c | |||
@@ -179,7 +179,7 @@ static void max7359_initialize(struct i2c_client *client) | |||
179 | max7359_fall_deepsleep(client); | 179 | max7359_fall_deepsleep(client); |
180 | } | 180 | } |
181 | 181 | ||
182 | static int __devinit max7359_probe(struct i2c_client *client, | 182 | static int max7359_probe(struct i2c_client *client, |
183 | const struct i2c_device_id *id) | 183 | const struct i2c_device_id *id) |
184 | { | 184 | { |
185 | const struct matrix_keymap_data *keymap_data = client->dev.platform_data; | 185 | const struct matrix_keymap_data *keymap_data = client->dev.platform_data; |
diff --git a/drivers/input/keyboard/mcs_touchkey.c b/drivers/input/keyboard/mcs_touchkey.c index 751b1419e56b..e729774cecd8 100644 --- a/drivers/input/keyboard/mcs_touchkey.c +++ b/drivers/input/keyboard/mcs_touchkey.c | |||
@@ -97,7 +97,7 @@ static irqreturn_t mcs_touchkey_interrupt(int irq, void *dev_id) | |||
97 | return IRQ_HANDLED; | 97 | return IRQ_HANDLED; |
98 | } | 98 | } |
99 | 99 | ||
100 | static int __devinit mcs_touchkey_probe(struct i2c_client *client, | 100 | static int mcs_touchkey_probe(struct i2c_client *client, |
101 | const struct i2c_device_id *id) | 101 | const struct i2c_device_id *id) |
102 | { | 102 | { |
103 | const struct mcs_platform_data *pdata; | 103 | const struct mcs_platform_data *pdata; |
diff --git a/drivers/input/keyboard/mpr121_touchkey.c b/drivers/input/keyboard/mpr121_touchkey.c index 38b1c0f72ed3..854486c347fe 100644 --- a/drivers/input/keyboard/mpr121_touchkey.c +++ b/drivers/input/keyboard/mpr121_touchkey.c | |||
@@ -123,7 +123,7 @@ out: | |||
123 | return IRQ_HANDLED; | 123 | return IRQ_HANDLED; |
124 | } | 124 | } |
125 | 125 | ||
126 | static int __devinit mpr121_phys_init(const struct mpr121_platform_data *pdata, | 126 | static int mpr121_phys_init(const struct mpr121_platform_data *pdata, |
127 | struct mpr121_touchkey *mpr121, | 127 | struct mpr121_touchkey *mpr121, |
128 | struct i2c_client *client) | 128 | struct i2c_client *client) |
129 | { | 129 | { |
@@ -185,8 +185,8 @@ err_i2c_write: | |||
185 | return ret; | 185 | return ret; |
186 | } | 186 | } |
187 | 187 | ||
188 | static int __devinit mpr_touchkey_probe(struct i2c_client *client, | 188 | static int mpr_touchkey_probe(struct i2c_client *client, |
189 | const struct i2c_device_id *id) | 189 | const struct i2c_device_id *id) |
190 | { | 190 | { |
191 | const struct mpr121_platform_data *pdata = client->dev.platform_data; | 191 | const struct mpr121_platform_data *pdata = client->dev.platform_data; |
192 | struct mpr121_touchkey *mpr121; | 192 | struct mpr121_touchkey *mpr121; |
diff --git a/drivers/input/keyboard/omap-keypad.c b/drivers/input/keyboard/omap-keypad.c index 1d17d91ed1e1..ffb8c6c1c5dc 100644 --- a/drivers/input/keyboard/omap-keypad.c +++ b/drivers/input/keyboard/omap-keypad.c | |||
@@ -244,7 +244,7 @@ static int omap_kp_resume(struct platform_device *dev) | |||
244 | #define omap_kp_resume NULL | 244 | #define omap_kp_resume NULL |
245 | #endif | 245 | #endif |
246 | 246 | ||
247 | static int __devinit omap_kp_probe(struct platform_device *pdev) | 247 | static int omap_kp_probe(struct platform_device *pdev) |
248 | { | 248 | { |
249 | struct omap_kp *omap_kp; | 249 | struct omap_kp *omap_kp; |
250 | struct input_dev *input_dev; | 250 | struct input_dev *input_dev; |
diff --git a/drivers/input/keyboard/omap4-keypad.c b/drivers/input/keyboard/omap4-keypad.c index 7145ab3401f8..c16a3229968c 100644 --- a/drivers/input/keyboard/omap4-keypad.c +++ b/drivers/input/keyboard/omap4-keypad.c | |||
@@ -211,8 +211,8 @@ static void omap4_keypad_close(struct input_dev *input) | |||
211 | } | 211 | } |
212 | 212 | ||
213 | #ifdef CONFIG_OF | 213 | #ifdef CONFIG_OF |
214 | static int __devinit omap4_keypad_parse_dt(struct device *dev, | 214 | static int omap4_keypad_parse_dt(struct device *dev, |
215 | struct omap4_keypad *keypad_data) | 215 | struct omap4_keypad *keypad_data) |
216 | { | 216 | { |
217 | struct device_node *np = dev->of_node; | 217 | struct device_node *np = dev->of_node; |
218 | 218 | ||
@@ -241,7 +241,7 @@ static inline int omap4_keypad_parse_dt(struct device *dev, | |||
241 | } | 241 | } |
242 | #endif | 242 | #endif |
243 | 243 | ||
244 | static int __devinit omap4_keypad_probe(struct platform_device *pdev) | 244 | static int omap4_keypad_probe(struct platform_device *pdev) |
245 | { | 245 | { |
246 | const struct omap4_keypad_platform_data *pdata = | 246 | const struct omap4_keypad_platform_data *pdata = |
247 | dev_get_platdata(&pdev->dev); | 247 | dev_get_platdata(&pdev->dev); |
diff --git a/drivers/input/keyboard/opencores-kbd.c b/drivers/input/keyboard/opencores-kbd.c index 7914ede8e4bf..ddc1c39c0c31 100644 --- a/drivers/input/keyboard/opencores-kbd.c +++ b/drivers/input/keyboard/opencores-kbd.c | |||
@@ -37,7 +37,7 @@ static irqreturn_t opencores_kbd_isr(int irq, void *dev_id) | |||
37 | return IRQ_HANDLED; | 37 | return IRQ_HANDLED; |
38 | } | 38 | } |
39 | 39 | ||
40 | static int __devinit opencores_kbd_probe(struct platform_device *pdev) | 40 | static int opencores_kbd_probe(struct platform_device *pdev) |
41 | { | 41 | { |
42 | struct input_dev *input; | 42 | struct input_dev *input; |
43 | struct opencores_kbd *opencores_kbd; | 43 | struct opencores_kbd *opencores_kbd; |
diff --git a/drivers/input/keyboard/pmic8xxx-keypad.c b/drivers/input/keyboard/pmic8xxx-keypad.c index d3623c5a3eea..fa177aba5dbe 100644 --- a/drivers/input/keyboard/pmic8xxx-keypad.c +++ b/drivers/input/keyboard/pmic8xxx-keypad.c | |||
@@ -397,7 +397,7 @@ static irqreturn_t pmic8xxx_kp_irq(int irq, void *data) | |||
397 | return IRQ_HANDLED; | 397 | return IRQ_HANDLED; |
398 | } | 398 | } |
399 | 399 | ||
400 | static int __devinit pmic8xxx_kpd_init(struct pmic8xxx_kp *kp) | 400 | static int pmic8xxx_kpd_init(struct pmic8xxx_kp *kp) |
401 | { | 401 | { |
402 | int bits, rc, cycles; | 402 | int bits, rc, cycles; |
403 | u8 scan_val = 0, ctrl_val = 0; | 403 | u8 scan_val = 0, ctrl_val = 0; |
@@ -447,7 +447,7 @@ static int __devinit pmic8xxx_kpd_init(struct pmic8xxx_kp *kp) | |||
447 | 447 | ||
448 | } | 448 | } |
449 | 449 | ||
450 | static int __devinit pmic8xxx_kp_config_gpio(int gpio_start, int num_gpios, | 450 | static int pmic8xxx_kp_config_gpio(int gpio_start, int num_gpios, |
451 | struct pmic8xxx_kp *kp, struct pm_gpio *gpio_config) | 451 | struct pmic8xxx_kp *kp, struct pm_gpio *gpio_config) |
452 | { | 452 | { |
453 | int rc, i; | 453 | int rc, i; |
@@ -518,7 +518,7 @@ static void pmic8xxx_kp_close(struct input_dev *dev) | |||
518 | * - set irq edge type. | 518 | * - set irq edge type. |
519 | * - enable the keypad controller. | 519 | * - enable the keypad controller. |
520 | */ | 520 | */ |
521 | static int __devinit pmic8xxx_kp_probe(struct platform_device *pdev) | 521 | static int pmic8xxx_kp_probe(struct platform_device *pdev) |
522 | { | 522 | { |
523 | const struct pm8xxx_keypad_platform_data *pdata = | 523 | const struct pm8xxx_keypad_platform_data *pdata = |
524 | dev_get_platdata(&pdev->dev); | 524 | dev_get_platdata(&pdev->dev); |
diff --git a/drivers/input/keyboard/pxa27x_keypad.c b/drivers/input/keyboard/pxa27x_keypad.c index a6bcd3129f0f..91778fee8b99 100644 --- a/drivers/input/keyboard/pxa27x_keypad.c +++ b/drivers/input/keyboard/pxa27x_keypad.c | |||
@@ -482,7 +482,7 @@ static const struct dev_pm_ops pxa27x_keypad_pm_ops = { | |||
482 | }; | 482 | }; |
483 | #endif | 483 | #endif |
484 | 484 | ||
485 | static int __devinit pxa27x_keypad_probe(struct platform_device *pdev) | 485 | static int pxa27x_keypad_probe(struct platform_device *pdev) |
486 | { | 486 | { |
487 | struct pxa27x_keypad_platform_data *pdata = pdev->dev.platform_data; | 487 | struct pxa27x_keypad_platform_data *pdata = pdev->dev.platform_data; |
488 | struct pxa27x_keypad *keypad; | 488 | struct pxa27x_keypad *keypad; |
diff --git a/drivers/input/keyboard/pxa930_rotary.c b/drivers/input/keyboard/pxa930_rotary.c index f8f89d1f230d..60797c22322d 100644 --- a/drivers/input/keyboard/pxa930_rotary.c +++ b/drivers/input/keyboard/pxa930_rotary.c | |||
@@ -82,7 +82,7 @@ static void pxa930_rotary_close(struct input_dev *dev) | |||
82 | clear_sbcr(r); | 82 | clear_sbcr(r); |
83 | } | 83 | } |
84 | 84 | ||
85 | static int __devinit pxa930_rotary_probe(struct platform_device *pdev) | 85 | static int pxa930_rotary_probe(struct platform_device *pdev) |
86 | { | 86 | { |
87 | struct pxa930_rotary_platform_data *pdata = pdev->dev.platform_data; | 87 | struct pxa930_rotary_platform_data *pdata = pdev->dev.platform_data; |
88 | struct pxa930_rotary *r; | 88 | struct pxa930_rotary *r; |
diff --git a/drivers/input/keyboard/qt1070.c b/drivers/input/keyboard/qt1070.c index eb46405eaad0..f9358e7d90bc 100644 --- a/drivers/input/keyboard/qt1070.c +++ b/drivers/input/keyboard/qt1070.c | |||
@@ -91,7 +91,7 @@ static int qt1070_write(struct i2c_client *client, u8 reg, u8 data) | |||
91 | return ret; | 91 | return ret; |
92 | } | 92 | } |
93 | 93 | ||
94 | static bool __devinit qt1070_identify(struct i2c_client *client) | 94 | static bool qt1070_identify(struct i2c_client *client) |
95 | { | 95 | { |
96 | int id, ver; | 96 | int id, ver; |
97 | 97 | ||
@@ -140,7 +140,7 @@ static irqreturn_t qt1070_interrupt(int irq, void *dev_id) | |||
140 | return IRQ_HANDLED; | 140 | return IRQ_HANDLED; |
141 | } | 141 | } |
142 | 142 | ||
143 | static int __devinit qt1070_probe(struct i2c_client *client, | 143 | static int qt1070_probe(struct i2c_client *client, |
144 | const struct i2c_device_id *id) | 144 | const struct i2c_device_id *id) |
145 | { | 145 | { |
146 | struct qt1070_data *data; | 146 | struct qt1070_data *data; |
diff --git a/drivers/input/keyboard/qt2160.c b/drivers/input/keyboard/qt2160.c index 691fe92a9824..69a6a6ffdbe3 100644 --- a/drivers/input/keyboard/qt2160.c +++ b/drivers/input/keyboard/qt2160.c | |||
@@ -183,7 +183,7 @@ static void qt2160_worker(struct work_struct *work) | |||
183 | qt2160_schedule_read(qt2160); | 183 | qt2160_schedule_read(qt2160); |
184 | } | 184 | } |
185 | 185 | ||
186 | static int __devinit qt2160_read(struct i2c_client *client, u8 reg) | 186 | static int qt2160_read(struct i2c_client *client, u8 reg) |
187 | { | 187 | { |
188 | int ret; | 188 | int ret; |
189 | 189 | ||
@@ -204,7 +204,7 @@ static int __devinit qt2160_read(struct i2c_client *client, u8 reg) | |||
204 | return ret; | 204 | return ret; |
205 | } | 205 | } |
206 | 206 | ||
207 | static int __devinit qt2160_write(struct i2c_client *client, u8 reg, u8 data) | 207 | static int qt2160_write(struct i2c_client *client, u8 reg, u8 data) |
208 | { | 208 | { |
209 | int ret; | 209 | int ret; |
210 | 210 | ||
@@ -217,7 +217,7 @@ static int __devinit qt2160_write(struct i2c_client *client, u8 reg, u8 data) | |||
217 | } | 217 | } |
218 | 218 | ||
219 | 219 | ||
220 | static bool __devinit qt2160_identify(struct i2c_client *client) | 220 | static bool qt2160_identify(struct i2c_client *client) |
221 | { | 221 | { |
222 | int id, ver, rev; | 222 | int id, ver, rev; |
223 | 223 | ||
@@ -248,7 +248,7 @@ static bool __devinit qt2160_identify(struct i2c_client *client) | |||
248 | return true; | 248 | return true; |
249 | } | 249 | } |
250 | 250 | ||
251 | static int __devinit qt2160_probe(struct i2c_client *client, | 251 | static int qt2160_probe(struct i2c_client *client, |
252 | const struct i2c_device_id *id) | 252 | const struct i2c_device_id *id) |
253 | { | 253 | { |
254 | struct qt2160_data *qt2160; | 254 | struct qt2160_data *qt2160; |
diff --git a/drivers/input/keyboard/samsung-keypad.c b/drivers/input/keyboard/samsung-keypad.c index f02772aa47df..5c6a808ed62d 100644 --- a/drivers/input/keyboard/samsung-keypad.c +++ b/drivers/input/keyboard/samsung-keypad.c | |||
@@ -366,7 +366,7 @@ static void samsung_keypad_dt_gpio_free(struct samsung_keypad *keypad) | |||
366 | } | 366 | } |
367 | #endif | 367 | #endif |
368 | 368 | ||
369 | static int __devinit samsung_keypad_probe(struct platform_device *pdev) | 369 | static int samsung_keypad_probe(struct platform_device *pdev) |
370 | { | 370 | { |
371 | const struct samsung_keypad_platdata *pdata; | 371 | const struct samsung_keypad_platdata *pdata; |
372 | const struct matrix_keymap_data *keymap_data; | 372 | const struct matrix_keymap_data *keymap_data; |
diff --git a/drivers/input/keyboard/sh_keysc.c b/drivers/input/keyboard/sh_keysc.c index 07415a36ec1e..ffa9adb23f21 100644 --- a/drivers/input/keyboard/sh_keysc.c +++ b/drivers/input/keyboard/sh_keysc.c | |||
@@ -162,7 +162,7 @@ static irqreturn_t sh_keysc_isr(int irq, void *dev_id) | |||
162 | return IRQ_HANDLED; | 162 | return IRQ_HANDLED; |
163 | } | 163 | } |
164 | 164 | ||
165 | static int __devinit sh_keysc_probe(struct platform_device *pdev) | 165 | static int sh_keysc_probe(struct platform_device *pdev) |
166 | { | 166 | { |
167 | struct sh_keysc_priv *priv; | 167 | struct sh_keysc_priv *priv; |
168 | struct sh_keysc_info *pdata; | 168 | struct sh_keysc_info *pdata; |
diff --git a/drivers/input/keyboard/spear-keyboard.c b/drivers/input/keyboard/spear-keyboard.c index 0c8862343e75..3c503dae7b64 100644 --- a/drivers/input/keyboard/spear-keyboard.c +++ b/drivers/input/keyboard/spear-keyboard.c | |||
@@ -146,7 +146,7 @@ static void spear_kbd_close(struct input_dev *dev) | |||
146 | } | 146 | } |
147 | 147 | ||
148 | #ifdef CONFIG_OF | 148 | #ifdef CONFIG_OF |
149 | static int __devinit spear_kbd_parse_dt(struct platform_device *pdev, | 149 | static int spear_kbd_parse_dt(struct platform_device *pdev, |
150 | struct spear_kbd *kbd) | 150 | struct spear_kbd *kbd) |
151 | { | 151 | { |
152 | struct device_node *np = pdev->dev.of_node; | 152 | struct device_node *np = pdev->dev.of_node; |
@@ -181,7 +181,7 @@ static inline int spear_kbd_parse_dt(struct platform_device *pdev, | |||
181 | } | 181 | } |
182 | #endif | 182 | #endif |
183 | 183 | ||
184 | static int __devinit spear_kbd_probe(struct platform_device *pdev) | 184 | static int spear_kbd_probe(struct platform_device *pdev) |
185 | { | 185 | { |
186 | struct kbd_platform_data *pdata = dev_get_platdata(&pdev->dev); | 186 | struct kbd_platform_data *pdata = dev_get_platdata(&pdev->dev); |
187 | const struct matrix_keymap_data *keymap = pdata ? pdata->keymap : NULL; | 187 | const struct matrix_keymap_data *keymap = pdata ? pdata->keymap : NULL; |
diff --git a/drivers/input/keyboard/stmpe-keypad.c b/drivers/input/keyboard/stmpe-keypad.c index 286719f5bc0b..b3f917d73cd6 100644 --- a/drivers/input/keyboard/stmpe-keypad.c +++ b/drivers/input/keyboard/stmpe-keypad.c | |||
@@ -166,7 +166,7 @@ static irqreturn_t stmpe_keypad_irq(int irq, void *dev) | |||
166 | return IRQ_HANDLED; | 166 | return IRQ_HANDLED; |
167 | } | 167 | } |
168 | 168 | ||
169 | static int __devinit stmpe_keypad_altfunc_init(struct stmpe_keypad *keypad) | 169 | static int stmpe_keypad_altfunc_init(struct stmpe_keypad *keypad) |
170 | { | 170 | { |
171 | const struct stmpe_keypad_variant *variant = keypad->variant; | 171 | const struct stmpe_keypad_variant *variant = keypad->variant; |
172 | unsigned int col_gpios = variant->col_gpios; | 172 | unsigned int col_gpios = variant->col_gpios; |
@@ -207,7 +207,7 @@ static int __devinit stmpe_keypad_altfunc_init(struct stmpe_keypad *keypad) | |||
207 | return stmpe_set_altfunc(stmpe, pins, STMPE_BLOCK_KEYPAD); | 207 | return stmpe_set_altfunc(stmpe, pins, STMPE_BLOCK_KEYPAD); |
208 | } | 208 | } |
209 | 209 | ||
210 | static int __devinit stmpe_keypad_chip_init(struct stmpe_keypad *keypad) | 210 | static int stmpe_keypad_chip_init(struct stmpe_keypad *keypad) |
211 | { | 211 | { |
212 | const struct stmpe_keypad_platform_data *plat = keypad->plat; | 212 | const struct stmpe_keypad_platform_data *plat = keypad->plat; |
213 | const struct stmpe_keypad_variant *variant = keypad->variant; | 213 | const struct stmpe_keypad_variant *variant = keypad->variant; |
@@ -257,7 +257,7 @@ static int __devinit stmpe_keypad_chip_init(struct stmpe_keypad *keypad) | |||
257 | (plat->debounce_ms << 1)); | 257 | (plat->debounce_ms << 1)); |
258 | } | 258 | } |
259 | 259 | ||
260 | static int __devinit stmpe_keypad_probe(struct platform_device *pdev) | 260 | static int stmpe_keypad_probe(struct platform_device *pdev) |
261 | { | 261 | { |
262 | struct stmpe *stmpe = dev_get_drvdata(pdev->dev.parent); | 262 | struct stmpe *stmpe = dev_get_drvdata(pdev->dev.parent); |
263 | const struct stmpe_keypad_platform_data *plat; | 263 | const struct stmpe_keypad_platform_data *plat; |
diff --git a/drivers/input/keyboard/tc3589x-keypad.c b/drivers/input/keyboard/tc3589x-keypad.c index 75fa2b98aaeb..6d725d633aeb 100644 --- a/drivers/input/keyboard/tc3589x-keypad.c +++ b/drivers/input/keyboard/tc3589x-keypad.c | |||
@@ -299,7 +299,7 @@ static void tc3589x_keypad_close(struct input_dev *input) | |||
299 | tc3589x_keypad_disable(keypad); | 299 | tc3589x_keypad_disable(keypad); |
300 | } | 300 | } |
301 | 301 | ||
302 | static int __devinit tc3589x_keypad_probe(struct platform_device *pdev) | 302 | static int tc3589x_keypad_probe(struct platform_device *pdev) |
303 | { | 303 | { |
304 | struct tc3589x *tc3589x = dev_get_drvdata(pdev->dev.parent); | 304 | struct tc3589x *tc3589x = dev_get_drvdata(pdev->dev.parent); |
305 | struct tc_keypad *keypad; | 305 | struct tc_keypad *keypad; |
diff --git a/drivers/input/keyboard/tca6416-keypad.c b/drivers/input/keyboard/tca6416-keypad.c index f5fa75aa9db4..4f44579689a4 100644 --- a/drivers/input/keyboard/tca6416-keypad.c +++ b/drivers/input/keyboard/tca6416-keypad.c | |||
@@ -166,7 +166,7 @@ static void tca6416_keys_close(struct input_dev *dev) | |||
166 | disable_irq(chip->irqnum); | 166 | disable_irq(chip->irqnum); |
167 | } | 167 | } |
168 | 168 | ||
169 | static int __devinit tca6416_setup_registers(struct tca6416_keypad_chip *chip) | 169 | static int tca6416_setup_registers(struct tca6416_keypad_chip *chip) |
170 | { | 170 | { |
171 | int error; | 171 | int error; |
172 | 172 | ||
@@ -197,7 +197,7 @@ static int __devinit tca6416_setup_registers(struct tca6416_keypad_chip *chip) | |||
197 | return 0; | 197 | return 0; |
198 | } | 198 | } |
199 | 199 | ||
200 | static int __devinit tca6416_keypad_probe(struct i2c_client *client, | 200 | static int tca6416_keypad_probe(struct i2c_client *client, |
201 | const struct i2c_device_id *id) | 201 | const struct i2c_device_id *id) |
202 | { | 202 | { |
203 | struct tca6416_keys_platform_data *pdata; | 203 | struct tca6416_keys_platform_data *pdata; |
diff --git a/drivers/input/keyboard/tca8418_keypad.c b/drivers/input/keyboard/tca8418_keypad.c index 672b5f8bcc11..6f970961f244 100644 --- a/drivers/input/keyboard/tca8418_keypad.c +++ b/drivers/input/keyboard/tca8418_keypad.c | |||
@@ -241,7 +241,7 @@ exit: | |||
241 | /* | 241 | /* |
242 | * Configure the TCA8418 for keypad operation | 242 | * Configure the TCA8418 for keypad operation |
243 | */ | 243 | */ |
244 | static int __devinit tca8418_configure(struct tca8418_keypad *keypad_data) | 244 | static int tca8418_configure(struct tca8418_keypad *keypad_data) |
245 | { | 245 | { |
246 | int reg, error; | 246 | int reg, error; |
247 | 247 | ||
@@ -270,7 +270,7 @@ static int __devinit tca8418_configure(struct tca8418_keypad *keypad_data) | |||
270 | return error; | 270 | return error; |
271 | } | 271 | } |
272 | 272 | ||
273 | static int __devinit tca8418_keypad_probe(struct i2c_client *client, | 273 | static int tca8418_keypad_probe(struct i2c_client *client, |
274 | const struct i2c_device_id *id) | 274 | const struct i2c_device_id *id) |
275 | { | 275 | { |
276 | const struct tca8418_keypad_platform_data *pdata = | 276 | const struct tca8418_keypad_platform_data *pdata = |
diff --git a/drivers/input/keyboard/tegra-kbc.c b/drivers/input/keyboard/tegra-kbc.c index 0bbcf971d103..cf8ab689231b 100644 --- a/drivers/input/keyboard/tegra-kbc.c +++ b/drivers/input/keyboard/tegra-kbc.c | |||
@@ -573,7 +573,7 @@ static void tegra_kbc_close(struct input_dev *dev) | |||
573 | return tegra_kbc_stop(kbc); | 573 | return tegra_kbc_stop(kbc); |
574 | } | 574 | } |
575 | 575 | ||
576 | static bool __devinit | 576 | static bool |
577 | tegra_kbc_check_pin_cfg(const struct tegra_kbc_platform_data *pdata, | 577 | tegra_kbc_check_pin_cfg(const struct tegra_kbc_platform_data *pdata, |
578 | struct device *dev, unsigned int *num_rows) | 578 | struct device *dev, unsigned int *num_rows) |
579 | { | 579 | { |
@@ -619,7 +619,7 @@ tegra_kbc_check_pin_cfg(const struct tegra_kbc_platform_data *pdata, | |||
619 | } | 619 | } |
620 | 620 | ||
621 | #ifdef CONFIG_OF | 621 | #ifdef CONFIG_OF |
622 | static struct tegra_kbc_platform_data * __devinit tegra_kbc_dt_parse_pdata( | 622 | static struct tegra_kbc_platform_data *tegra_kbc_dt_parse_pdata( |
623 | struct platform_device *pdev) | 623 | struct platform_device *pdev) |
624 | { | 624 | { |
625 | struct tegra_kbc_platform_data *pdata; | 625 | struct tegra_kbc_platform_data *pdata; |
@@ -670,7 +670,7 @@ static inline struct tegra_kbc_platform_data *tegra_kbc_dt_parse_pdata( | |||
670 | } | 670 | } |
671 | #endif | 671 | #endif |
672 | 672 | ||
673 | static int __devinit tegra_kbd_setup_keymap(struct tegra_kbc *kbc) | 673 | static int tegra_kbd_setup_keymap(struct tegra_kbc *kbc) |
674 | { | 674 | { |
675 | const struct tegra_kbc_platform_data *pdata = kbc->pdata; | 675 | const struct tegra_kbc_platform_data *pdata = kbc->pdata; |
676 | const struct matrix_keymap_data *keymap_data = pdata->keymap_data; | 676 | const struct matrix_keymap_data *keymap_data = pdata->keymap_data; |
@@ -697,7 +697,7 @@ static int __devinit tegra_kbd_setup_keymap(struct tegra_kbc *kbc) | |||
697 | return retval; | 697 | return retval; |
698 | } | 698 | } |
699 | 699 | ||
700 | static int __devinit tegra_kbc_probe(struct platform_device *pdev) | 700 | static int tegra_kbc_probe(struct platform_device *pdev) |
701 | { | 701 | { |
702 | const struct tegra_kbc_platform_data *pdata = pdev->dev.platform_data; | 702 | const struct tegra_kbc_platform_data *pdata = pdev->dev.platform_data; |
703 | struct tegra_kbc *kbc; | 703 | struct tegra_kbc *kbc; |
diff --git a/drivers/input/keyboard/tnetv107x-keypad.c b/drivers/input/keyboard/tnetv107x-keypad.c index 05d923c51c1e..55cd0700af8c 100644 --- a/drivers/input/keyboard/tnetv107x-keypad.c +++ b/drivers/input/keyboard/tnetv107x-keypad.c | |||
@@ -153,7 +153,7 @@ static void keypad_stop(struct input_dev *dev) | |||
153 | clk_disable(kp->clk); | 153 | clk_disable(kp->clk); |
154 | } | 154 | } |
155 | 155 | ||
156 | static int __devinit keypad_probe(struct platform_device *pdev) | 156 | static int keypad_probe(struct platform_device *pdev) |
157 | { | 157 | { |
158 | const struct matrix_keypad_platform_data *pdata; | 158 | const struct matrix_keypad_platform_data *pdata; |
159 | const struct matrix_keymap_data *keymap_data; | 159 | const struct matrix_keymap_data *keymap_data; |
diff --git a/drivers/input/keyboard/twl4030_keypad.c b/drivers/input/keyboard/twl4030_keypad.c index ae25909d51b1..78dd9f27dd87 100644 --- a/drivers/input/keyboard/twl4030_keypad.c +++ b/drivers/input/keyboard/twl4030_keypad.c | |||
@@ -271,7 +271,7 @@ static irqreturn_t do_kp_irq(int irq, void *_kp) | |||
271 | return IRQ_HANDLED; | 271 | return IRQ_HANDLED; |
272 | } | 272 | } |
273 | 273 | ||
274 | static int __devinit twl4030_kp_program(struct twl4030_keypad *kp) | 274 | static int twl4030_kp_program(struct twl4030_keypad *kp) |
275 | { | 275 | { |
276 | u8 reg; | 276 | u8 reg; |
277 | int i; | 277 | int i; |
@@ -328,7 +328,7 @@ static int __devinit twl4030_kp_program(struct twl4030_keypad *kp) | |||
328 | * Registers keypad device with input subsystem | 328 | * Registers keypad device with input subsystem |
329 | * and configures TWL4030 keypad registers | 329 | * and configures TWL4030 keypad registers |
330 | */ | 330 | */ |
331 | static int __devinit twl4030_kp_probe(struct platform_device *pdev) | 331 | static int twl4030_kp_probe(struct platform_device *pdev) |
332 | { | 332 | { |
333 | struct twl4030_keypad_data *pdata = pdev->dev.platform_data; | 333 | struct twl4030_keypad_data *pdata = pdev->dev.platform_data; |
334 | const struct matrix_keymap_data *keymap_data; | 334 | const struct matrix_keymap_data *keymap_data; |
diff --git a/drivers/input/keyboard/w90p910_keypad.c b/drivers/input/keyboard/w90p910_keypad.c index a90fdfc0948f..7574e10ef097 100644 --- a/drivers/input/keyboard/w90p910_keypad.c +++ b/drivers/input/keyboard/w90p910_keypad.c | |||
@@ -118,7 +118,7 @@ static void w90p910_keypad_close(struct input_dev *dev) | |||
118 | clk_disable(keypad->clk); | 118 | clk_disable(keypad->clk); |
119 | } | 119 | } |
120 | 120 | ||
121 | static int __devinit w90p910_keypad_probe(struct platform_device *pdev) | 121 | static int w90p910_keypad_probe(struct platform_device *pdev) |
122 | { | 122 | { |
123 | const struct w90p910_keypad_platform_data *pdata = | 123 | const struct w90p910_keypad_platform_data *pdata = |
124 | pdev->dev.platform_data; | 124 | pdev->dev.platform_data; |
diff --git a/drivers/input/misc/88pm80x_onkey.c b/drivers/input/misc/88pm80x_onkey.c index f77557523bb9..946edcadfb2e 100644 --- a/drivers/input/misc/88pm80x_onkey.c +++ b/drivers/input/misc/88pm80x_onkey.c | |||
@@ -62,7 +62,7 @@ static irqreturn_t pm80x_onkey_handler(int irq, void *data) | |||
62 | static SIMPLE_DEV_PM_OPS(pm80x_onkey_pm_ops, pm80x_dev_suspend, | 62 | static SIMPLE_DEV_PM_OPS(pm80x_onkey_pm_ops, pm80x_dev_suspend, |
63 | pm80x_dev_resume); | 63 | pm80x_dev_resume); |
64 | 64 | ||
65 | static int __devinit pm80x_onkey_probe(struct platform_device *pdev) | 65 | static int pm80x_onkey_probe(struct platform_device *pdev) |
66 | { | 66 | { |
67 | 67 | ||
68 | struct pm80x_chip *chip = dev_get_drvdata(pdev->dev.parent); | 68 | struct pm80x_chip *chip = dev_get_drvdata(pdev->dev.parent); |
diff --git a/drivers/input/misc/88pm860x_onkey.c b/drivers/input/misc/88pm860x_onkey.c index 8391a9d86ab5..81af2d70e5dc 100644 --- a/drivers/input/misc/88pm860x_onkey.c +++ b/drivers/input/misc/88pm860x_onkey.c | |||
@@ -56,7 +56,7 @@ static irqreturn_t pm860x_onkey_handler(int irq, void *data) | |||
56 | return IRQ_HANDLED; | 56 | return IRQ_HANDLED; |
57 | } | 57 | } |
58 | 58 | ||
59 | static int __devinit pm860x_onkey_probe(struct platform_device *pdev) | 59 | static int pm860x_onkey_probe(struct platform_device *pdev) |
60 | { | 60 | { |
61 | struct pm860x_chip *chip = dev_get_drvdata(pdev->dev.parent); | 61 | struct pm860x_chip *chip = dev_get_drvdata(pdev->dev.parent); |
62 | struct pm860x_onkey_info *info; | 62 | struct pm860x_onkey_info *info; |
diff --git a/drivers/input/misc/ab8500-ponkey.c b/drivers/input/misc/ab8500-ponkey.c index ae9c20522dbd..f188222d208d 100644 --- a/drivers/input/misc/ab8500-ponkey.c +++ b/drivers/input/misc/ab8500-ponkey.c | |||
@@ -45,7 +45,7 @@ static irqreturn_t ab8500_ponkey_handler(int irq, void *data) | |||
45 | return IRQ_HANDLED; | 45 | return IRQ_HANDLED; |
46 | } | 46 | } |
47 | 47 | ||
48 | static int __devinit ab8500_ponkey_probe(struct platform_device *pdev) | 48 | static int ab8500_ponkey_probe(struct platform_device *pdev) |
49 | { | 49 | { |
50 | struct ab8500 *ab8500 = dev_get_drvdata(pdev->dev.parent); | 50 | struct ab8500 *ab8500 = dev_get_drvdata(pdev->dev.parent); |
51 | struct ab8500_ponkey *ponkey; | 51 | struct ab8500_ponkey *ponkey; |
diff --git a/drivers/input/misc/ad714x-i2c.c b/drivers/input/misc/ad714x-i2c.c index 02e21d4f5e73..9477602c7211 100644 --- a/drivers/input/misc/ad714x-i2c.c +++ b/drivers/input/misc/ad714x-i2c.c | |||
@@ -72,7 +72,7 @@ static int ad714x_i2c_read(struct ad714x_chip *chip, | |||
72 | return 0; | 72 | return 0; |
73 | } | 73 | } |
74 | 74 | ||
75 | static int __devinit ad714x_i2c_probe(struct i2c_client *client, | 75 | static int ad714x_i2c_probe(struct i2c_client *client, |
76 | const struct i2c_device_id *id) | 76 | const struct i2c_device_id *id) |
77 | { | 77 | { |
78 | struct ad714x_chip *chip; | 78 | struct ad714x_chip *chip; |
diff --git a/drivers/input/misc/ad714x-spi.c b/drivers/input/misc/ad714x-spi.c index eee820b41356..497871e506f4 100644 --- a/drivers/input/misc/ad714x-spi.c +++ b/drivers/input/misc/ad714x-spi.c | |||
@@ -83,7 +83,7 @@ static int ad714x_spi_write(struct ad714x_chip *chip, | |||
83 | return 0; | 83 | return 0; |
84 | } | 84 | } |
85 | 85 | ||
86 | static int __devinit ad714x_spi_probe(struct spi_device *spi) | 86 | static int ad714x_spi_probe(struct spi_device *spi) |
87 | { | 87 | { |
88 | struct ad714x_chip *chip; | 88 | struct ad714x_chip *chip; |
89 | int err; | 89 | int err; |
diff --git a/drivers/input/misc/adxl34x-i2c.c b/drivers/input/misc/adxl34x-i2c.c index 09094ca972c7..e262885f62de 100644 --- a/drivers/input/misc/adxl34x-i2c.c +++ b/drivers/input/misc/adxl34x-i2c.c | |||
@@ -73,7 +73,7 @@ static const struct adxl34x_bus_ops adxl34x_i2c_bops = { | |||
73 | .read_block = adxl34x_i2c_read_block, | 73 | .read_block = adxl34x_i2c_read_block, |
74 | }; | 74 | }; |
75 | 75 | ||
76 | static int __devinit adxl34x_i2c_probe(struct i2c_client *client, | 76 | static int adxl34x_i2c_probe(struct i2c_client *client, |
77 | const struct i2c_device_id *id) | 77 | const struct i2c_device_id *id) |
78 | { | 78 | { |
79 | struct adxl34x *ac; | 79 | struct adxl34x *ac; |
diff --git a/drivers/input/misc/adxl34x-spi.c b/drivers/input/misc/adxl34x-spi.c index 756c899bfa7f..1071d252df07 100644 --- a/drivers/input/misc/adxl34x-spi.c +++ b/drivers/input/misc/adxl34x-spi.c | |||
@@ -65,7 +65,7 @@ static const struct adxl34x_bus_ops adxl34x_spi_bops = { | |||
65 | .read_block = adxl34x_spi_read_block, | 65 | .read_block = adxl34x_spi_read_block, |
66 | }; | 66 | }; |
67 | 67 | ||
68 | static int __devinit adxl34x_spi_probe(struct spi_device *spi) | 68 | static int adxl34x_spi_probe(struct spi_device *spi) |
69 | { | 69 | { |
70 | struct adxl34x *ac; | 70 | struct adxl34x *ac; |
71 | 71 | ||
diff --git a/drivers/input/misc/bfin_rotary.c b/drivers/input/misc/bfin_rotary.c index 6df3f88a46dd..9cb4a74a479a 100644 --- a/drivers/input/misc/bfin_rotary.c +++ b/drivers/input/misc/bfin_rotary.c | |||
@@ -90,7 +90,7 @@ static irqreturn_t bfin_rotary_isr(int irq, void *dev_id) | |||
90 | return IRQ_HANDLED; | 90 | return IRQ_HANDLED; |
91 | } | 91 | } |
92 | 92 | ||
93 | static int __devinit bfin_rotary_probe(struct platform_device *pdev) | 93 | static int bfin_rotary_probe(struct platform_device *pdev) |
94 | { | 94 | { |
95 | struct bfin_rotary_platform_data *pdata = pdev->dev.platform_data; | 95 | struct bfin_rotary_platform_data *pdata = pdev->dev.platform_data; |
96 | struct bfin_rot *rotary; | 96 | struct bfin_rot *rotary; |
diff --git a/drivers/input/misc/bma150.c b/drivers/input/misc/bma150.c index 5b459d7dd207..a3219c2a3855 100644 --- a/drivers/input/misc/bma150.c +++ b/drivers/input/misc/bma150.c | |||
@@ -224,7 +224,7 @@ static int bma150_set_mode(struct bma150_data *bma150, u8 mode) | |||
224 | return 0; | 224 | return 0; |
225 | } | 225 | } |
226 | 226 | ||
227 | static int __devinit bma150_soft_reset(struct bma150_data *bma150) | 227 | static int bma150_soft_reset(struct bma150_data *bma150) |
228 | { | 228 | { |
229 | int error; | 229 | int error; |
230 | 230 | ||
@@ -237,19 +237,19 @@ static int __devinit bma150_soft_reset(struct bma150_data *bma150) | |||
237 | return 0; | 237 | return 0; |
238 | } | 238 | } |
239 | 239 | ||
240 | static int __devinit bma150_set_range(struct bma150_data *bma150, u8 range) | 240 | static int bma150_set_range(struct bma150_data *bma150, u8 range) |
241 | { | 241 | { |
242 | return bma150_set_reg_bits(bma150->client, range, BMA150_RANGE_POS, | 242 | return bma150_set_reg_bits(bma150->client, range, BMA150_RANGE_POS, |
243 | BMA150_RANGE_MSK, BMA150_RANGE_REG); | 243 | BMA150_RANGE_MSK, BMA150_RANGE_REG); |
244 | } | 244 | } |
245 | 245 | ||
246 | static int __devinit bma150_set_bandwidth(struct bma150_data *bma150, u8 bw) | 246 | static int bma150_set_bandwidth(struct bma150_data *bma150, u8 bw) |
247 | { | 247 | { |
248 | return bma150_set_reg_bits(bma150->client, bw, BMA150_BANDWIDTH_POS, | 248 | return bma150_set_reg_bits(bma150->client, bw, BMA150_BANDWIDTH_POS, |
249 | BMA150_BANDWIDTH_MSK, BMA150_BANDWIDTH_REG); | 249 | BMA150_BANDWIDTH_MSK, BMA150_BANDWIDTH_REG); |
250 | } | 250 | } |
251 | 251 | ||
252 | static int __devinit bma150_set_low_g_interrupt(struct bma150_data *bma150, | 252 | static int bma150_set_low_g_interrupt(struct bma150_data *bma150, |
253 | u8 enable, u8 hyst, u8 dur, u8 thres) | 253 | u8 enable, u8 hyst, u8 dur, u8 thres) |
254 | { | 254 | { |
255 | int error; | 255 | int error; |
@@ -273,7 +273,7 @@ static int __devinit bma150_set_low_g_interrupt(struct bma150_data *bma150, | |||
273 | BMA150_LOW_G_EN_REG); | 273 | BMA150_LOW_G_EN_REG); |
274 | } | 274 | } |
275 | 275 | ||
276 | static int __devinit bma150_set_high_g_interrupt(struct bma150_data *bma150, | 276 | static int bma150_set_high_g_interrupt(struct bma150_data *bma150, |
277 | u8 enable, u8 hyst, u8 dur, u8 thres) | 277 | u8 enable, u8 hyst, u8 dur, u8 thres) |
278 | { | 278 | { |
279 | int error; | 279 | int error; |
@@ -300,7 +300,7 @@ static int __devinit bma150_set_high_g_interrupt(struct bma150_data *bma150, | |||
300 | } | 300 | } |
301 | 301 | ||
302 | 302 | ||
303 | static int __devinit bma150_set_any_motion_interrupt(struct bma150_data *bma150, | 303 | static int bma150_set_any_motion_interrupt(struct bma150_data *bma150, |
304 | u8 enable, u8 dur, u8 thres) | 304 | u8 enable, u8 dur, u8 thres) |
305 | { | 305 | { |
306 | int error; | 306 | int error; |
@@ -424,7 +424,7 @@ static void bma150_poll_close(struct input_polled_dev *ipoll_dev) | |||
424 | bma150_close(bma150); | 424 | bma150_close(bma150); |
425 | } | 425 | } |
426 | 426 | ||
427 | static int __devinit bma150_initialize(struct bma150_data *bma150, | 427 | static int bma150_initialize(struct bma150_data *bma150, |
428 | const struct bma150_cfg *cfg) | 428 | const struct bma150_cfg *cfg) |
429 | { | 429 | { |
430 | int error; | 430 | int error; |
@@ -465,7 +465,7 @@ static int __devinit bma150_initialize(struct bma150_data *bma150, | |||
465 | return bma150_set_mode(bma150, BMA150_MODE_SLEEP); | 465 | return bma150_set_mode(bma150, BMA150_MODE_SLEEP); |
466 | } | 466 | } |
467 | 467 | ||
468 | static void __devinit bma150_init_input_device(struct bma150_data *bma150, | 468 | static void bma150_init_input_device(struct bma150_data *bma150, |
469 | struct input_dev *idev) | 469 | struct input_dev *idev) |
470 | { | 470 | { |
471 | idev->name = BMA150_DRIVER; | 471 | idev->name = BMA150_DRIVER; |
@@ -479,7 +479,7 @@ static void __devinit bma150_init_input_device(struct bma150_data *bma150, | |||
479 | input_set_abs_params(idev, ABS_Z, ABSMIN_ACC_VAL, ABSMAX_ACC_VAL, 0, 0); | 479 | input_set_abs_params(idev, ABS_Z, ABSMIN_ACC_VAL, ABSMAX_ACC_VAL, 0, 0); |
480 | } | 480 | } |
481 | 481 | ||
482 | static int __devinit bma150_register_input_device(struct bma150_data *bma150) | 482 | static int bma150_register_input_device(struct bma150_data *bma150) |
483 | { | 483 | { |
484 | struct input_dev *idev; | 484 | struct input_dev *idev; |
485 | int error; | 485 | int error; |
@@ -504,7 +504,7 @@ static int __devinit bma150_register_input_device(struct bma150_data *bma150) | |||
504 | return 0; | 504 | return 0; |
505 | } | 505 | } |
506 | 506 | ||
507 | static int __devinit bma150_register_polled_device(struct bma150_data *bma150) | 507 | static int bma150_register_polled_device(struct bma150_data *bma150) |
508 | { | 508 | { |
509 | struct input_polled_dev *ipoll_dev; | 509 | struct input_polled_dev *ipoll_dev; |
510 | int error; | 510 | int error; |
@@ -535,7 +535,7 @@ static int __devinit bma150_register_polled_device(struct bma150_data *bma150) | |||
535 | return 0; | 535 | return 0; |
536 | } | 536 | } |
537 | 537 | ||
538 | static int __devinit bma150_probe(struct i2c_client *client, | 538 | static int bma150_probe(struct i2c_client *client, |
539 | const struct i2c_device_id *id) | 539 | const struct i2c_device_id *id) |
540 | { | 540 | { |
541 | const struct bma150_platform_data *pdata = client->dev.platform_data; | 541 | const struct bma150_platform_data *pdata = client->dev.platform_data; |
diff --git a/drivers/input/misc/cma3000_d0x_i2c.c b/drivers/input/misc/cma3000_d0x_i2c.c index 523b6aabd7fc..ca2103efaf17 100644 --- a/drivers/input/misc/cma3000_d0x_i2c.c +++ b/drivers/input/misc/cma3000_d0x_i2c.c | |||
@@ -55,7 +55,7 @@ static const struct cma3000_bus_ops cma3000_i2c_bops = { | |||
55 | .write = cma3000_i2c_set, | 55 | .write = cma3000_i2c_set, |
56 | }; | 56 | }; |
57 | 57 | ||
58 | static int __devinit cma3000_i2c_probe(struct i2c_client *client, | 58 | static int cma3000_i2c_probe(struct i2c_client *client, |
59 | const struct i2c_device_id *id) | 59 | const struct i2c_device_id *id) |
60 | { | 60 | { |
61 | struct cma3000_accl_data *data; | 61 | struct cma3000_accl_data *data; |
diff --git a/drivers/input/misc/cobalt_btns.c b/drivers/input/misc/cobalt_btns.c index 659f20df6040..beeb53dc073d 100644 --- a/drivers/input/misc/cobalt_btns.c +++ b/drivers/input/misc/cobalt_btns.c | |||
@@ -73,7 +73,7 @@ static void handle_buttons(struct input_polled_dev *dev) | |||
73 | } | 73 | } |
74 | } | 74 | } |
75 | 75 | ||
76 | static int __devinit cobalt_buttons_probe(struct platform_device *pdev) | 76 | static int cobalt_buttons_probe(struct platform_device *pdev) |
77 | { | 77 | { |
78 | struct buttons_dev *bdev; | 78 | struct buttons_dev *bdev; |
79 | struct input_polled_dev *poll_dev; | 79 | struct input_polled_dev *poll_dev; |
diff --git a/drivers/input/misc/da9052_onkey.c b/drivers/input/misc/da9052_onkey.c index acd07e8c32bc..8464029972db 100644 --- a/drivers/input/misc/da9052_onkey.c +++ b/drivers/input/misc/da9052_onkey.c | |||
@@ -71,7 +71,7 @@ static irqreturn_t da9052_onkey_irq(int irq, void *data) | |||
71 | return IRQ_HANDLED; | 71 | return IRQ_HANDLED; |
72 | } | 72 | } |
73 | 73 | ||
74 | static int __devinit da9052_onkey_probe(struct platform_device *pdev) | 74 | static int da9052_onkey_probe(struct platform_device *pdev) |
75 | { | 75 | { |
76 | struct da9052 *da9052 = dev_get_drvdata(pdev->dev.parent); | 76 | struct da9052 *da9052 = dev_get_drvdata(pdev->dev.parent); |
77 | struct da9052_onkey *onkey; | 77 | struct da9052_onkey *onkey; |
diff --git a/drivers/input/misc/da9055_onkey.c b/drivers/input/misc/da9055_onkey.c index fe434e07dbfc..cbf49893450c 100644 --- a/drivers/input/misc/da9055_onkey.c +++ b/drivers/input/misc/da9055_onkey.c | |||
@@ -73,7 +73,7 @@ static irqreturn_t da9055_onkey_irq(int irq, void *data) | |||
73 | return IRQ_HANDLED; | 73 | return IRQ_HANDLED; |
74 | } | 74 | } |
75 | 75 | ||
76 | static int __devinit da9055_onkey_probe(struct platform_device *pdev) | 76 | static int da9055_onkey_probe(struct platform_device *pdev) |
77 | { | 77 | { |
78 | struct da9055 *da9055 = dev_get_drvdata(pdev->dev.parent); | 78 | struct da9055 *da9055 = dev_get_drvdata(pdev->dev.parent); |
79 | struct da9055_onkey *onkey; | 79 | struct da9055_onkey *onkey; |
diff --git a/drivers/input/misc/dm355evm_keys.c b/drivers/input/misc/dm355evm_keys.c index 1afb91cd71fb..5409ab7684bb 100644 --- a/drivers/input/misc/dm355evm_keys.c +++ b/drivers/input/misc/dm355evm_keys.c | |||
@@ -173,7 +173,7 @@ static irqreturn_t dm355evm_keys_irq(int irq, void *_keys) | |||
173 | 173 | ||
174 | /*----------------------------------------------------------------------*/ | 174 | /*----------------------------------------------------------------------*/ |
175 | 175 | ||
176 | static int __devinit dm355evm_keys_probe(struct platform_device *pdev) | 176 | static int dm355evm_keys_probe(struct platform_device *pdev) |
177 | { | 177 | { |
178 | struct dm355evm_keys *keys; | 178 | struct dm355evm_keys *keys; |
179 | struct input_dev *input; | 179 | struct input_dev *input; |
diff --git a/drivers/input/misc/gp2ap002a00f.c b/drivers/input/misc/gp2ap002a00f.c index 99ec8d0c6e41..8ad99be5e5c8 100644 --- a/drivers/input/misc/gp2ap002a00f.c +++ b/drivers/input/misc/gp2ap002a00f.c | |||
@@ -98,7 +98,7 @@ static void gp2a_device_close(struct input_dev *dev) | |||
98 | "unable to deactivate, err %d\n", error); | 98 | "unable to deactivate, err %d\n", error); |
99 | } | 99 | } |
100 | 100 | ||
101 | static int __devinit gp2a_initialize(struct gp2a_data *dt) | 101 | static int gp2a_initialize(struct gp2a_data *dt) |
102 | { | 102 | { |
103 | int error; | 103 | int error; |
104 | 104 | ||
@@ -122,7 +122,7 @@ static int __devinit gp2a_initialize(struct gp2a_data *dt) | |||
122 | return error; | 122 | return error; |
123 | } | 123 | } |
124 | 124 | ||
125 | static int __devinit gp2a_probe(struct i2c_client *client, | 125 | static int gp2a_probe(struct i2c_client *client, |
126 | const struct i2c_device_id *id) | 126 | const struct i2c_device_id *id) |
127 | { | 127 | { |
128 | const struct gp2a_platform_data *pdata = client->dev.platform_data; | 128 | const struct gp2a_platform_data *pdata = client->dev.platform_data; |
diff --git a/drivers/input/misc/gpio_tilt_polled.c b/drivers/input/misc/gpio_tilt_polled.c index bf97679fe522..467884be3b3a 100644 --- a/drivers/input/misc/gpio_tilt_polled.c +++ b/drivers/input/misc/gpio_tilt_polled.c | |||
@@ -96,7 +96,7 @@ static void gpio_tilt_polled_close(struct input_polled_dev *dev) | |||
96 | pdata->disable(tdev->dev); | 96 | pdata->disable(tdev->dev); |
97 | } | 97 | } |
98 | 98 | ||
99 | static int __devinit gpio_tilt_polled_probe(struct platform_device *pdev) | 99 | static int gpio_tilt_polled_probe(struct platform_device *pdev) |
100 | { | 100 | { |
101 | const struct gpio_tilt_platform_data *pdata = pdev->dev.platform_data; | 101 | const struct gpio_tilt_platform_data *pdata = pdev->dev.platform_data; |
102 | struct device *dev = &pdev->dev; | 102 | struct device *dev = &pdev->dev; |
diff --git a/drivers/input/misc/ixp4xx-beeper.c b/drivers/input/misc/ixp4xx-beeper.c index 18a2970f88ee..97620d56ac0a 100644 --- a/drivers/input/misc/ixp4xx-beeper.c +++ b/drivers/input/misc/ixp4xx-beeper.c | |||
@@ -87,7 +87,7 @@ static irqreturn_t ixp4xx_spkr_interrupt(int irq, void *dev_id) | |||
87 | return IRQ_HANDLED; | 87 | return IRQ_HANDLED; |
88 | } | 88 | } |
89 | 89 | ||
90 | static int __devinit ixp4xx_spkr_probe(struct platform_device *dev) | 90 | static int ixp4xx_spkr_probe(struct platform_device *dev) |
91 | { | 91 | { |
92 | struct input_dev *input_dev; | 92 | struct input_dev *input_dev; |
93 | int err; | 93 | int err; |
diff --git a/drivers/input/misc/kxtj9.c b/drivers/input/misc/kxtj9.c index 8414ddb31815..57f1f1284165 100644 --- a/drivers/input/misc/kxtj9.c +++ b/drivers/input/misc/kxtj9.c | |||
@@ -295,7 +295,7 @@ static void kxtj9_input_close(struct input_dev *dev) | |||
295 | kxtj9_disable(tj9); | 295 | kxtj9_disable(tj9); |
296 | } | 296 | } |
297 | 297 | ||
298 | static void __devinit kxtj9_init_input_device(struct kxtj9_data *tj9, | 298 | static void kxtj9_init_input_device(struct kxtj9_data *tj9, |
299 | struct input_dev *input_dev) | 299 | struct input_dev *input_dev) |
300 | { | 300 | { |
301 | __set_bit(EV_ABS, input_dev->evbit); | 301 | __set_bit(EV_ABS, input_dev->evbit); |
@@ -308,7 +308,7 @@ static void __devinit kxtj9_init_input_device(struct kxtj9_data *tj9, | |||
308 | input_dev->dev.parent = &tj9->client->dev; | 308 | input_dev->dev.parent = &tj9->client->dev; |
309 | } | 309 | } |
310 | 310 | ||
311 | static int __devinit kxtj9_setup_input_device(struct kxtj9_data *tj9) | 311 | static int kxtj9_setup_input_device(struct kxtj9_data *tj9) |
312 | { | 312 | { |
313 | struct input_dev *input_dev; | 313 | struct input_dev *input_dev; |
314 | int err; | 314 | int err; |
@@ -433,7 +433,7 @@ static void kxtj9_polled_input_close(struct input_polled_dev *dev) | |||
433 | kxtj9_disable(tj9); | 433 | kxtj9_disable(tj9); |
434 | } | 434 | } |
435 | 435 | ||
436 | static int __devinit kxtj9_setup_polled_device(struct kxtj9_data *tj9) | 436 | static int kxtj9_setup_polled_device(struct kxtj9_data *tj9) |
437 | { | 437 | { |
438 | int err; | 438 | int err; |
439 | struct input_polled_dev *poll_dev; | 439 | struct input_polled_dev *poll_dev; |
@@ -485,7 +485,7 @@ static inline void kxtj9_teardown_polled_device(struct kxtj9_data *tj9) | |||
485 | 485 | ||
486 | #endif | 486 | #endif |
487 | 487 | ||
488 | static int __devinit kxtj9_verify(struct kxtj9_data *tj9) | 488 | static int kxtj9_verify(struct kxtj9_data *tj9) |
489 | { | 489 | { |
490 | int retval; | 490 | int retval; |
491 | 491 | ||
@@ -506,7 +506,7 @@ out: | |||
506 | return retval; | 506 | return retval; |
507 | } | 507 | } |
508 | 508 | ||
509 | static int __devinit kxtj9_probe(struct i2c_client *client, | 509 | static int kxtj9_probe(struct i2c_client *client, |
510 | const struct i2c_device_id *id) | 510 | const struct i2c_device_id *id) |
511 | { | 511 | { |
512 | const struct kxtj9_platform_data *pdata = client->dev.platform_data; | 512 | const struct kxtj9_platform_data *pdata = client->dev.platform_data; |
diff --git a/drivers/input/misc/m68kspkr.c b/drivers/input/misc/m68kspkr.c index f3a3c5e14d00..ec8f59dcb46c 100644 --- a/drivers/input/misc/m68kspkr.c +++ b/drivers/input/misc/m68kspkr.c | |||
@@ -48,7 +48,7 @@ static int m68kspkr_event(struct input_dev *dev, unsigned int type, unsigned int | |||
48 | return 0; | 48 | return 0; |
49 | } | 49 | } |
50 | 50 | ||
51 | static int __devinit m68kspkr_probe(struct platform_device *dev) | 51 | static int m68kspkr_probe(struct platform_device *dev) |
52 | { | 52 | { |
53 | struct input_dev *input_dev; | 53 | struct input_dev *input_dev; |
54 | int err; | 54 | int err; |
diff --git a/drivers/input/misc/max8925_onkey.c b/drivers/input/misc/max8925_onkey.c index 3c3db6787e8f..57bc42c92d4b 100644 --- a/drivers/input/misc/max8925_onkey.c +++ b/drivers/input/misc/max8925_onkey.c | |||
@@ -62,7 +62,7 @@ static irqreturn_t max8925_onkey_handler(int irq, void *data) | |||
62 | return IRQ_HANDLED; | 62 | return IRQ_HANDLED; |
63 | } | 63 | } |
64 | 64 | ||
65 | static int __devinit max8925_onkey_probe(struct platform_device *pdev) | 65 | static int max8925_onkey_probe(struct platform_device *pdev) |
66 | { | 66 | { |
67 | struct max8925_chip *chip = dev_get_drvdata(pdev->dev.parent); | 67 | struct max8925_chip *chip = dev_get_drvdata(pdev->dev.parent); |
68 | struct max8925_onkey_info *info; | 68 | struct max8925_onkey_info *info; |
diff --git a/drivers/input/misc/max8997_haptic.c b/drivers/input/misc/max8997_haptic.c index 8db64f652d7a..2613b2f3174e 100644 --- a/drivers/input/misc/max8997_haptic.c +++ b/drivers/input/misc/max8997_haptic.c | |||
@@ -241,7 +241,7 @@ static void max8997_haptic_close(struct input_dev *dev) | |||
241 | max8997_haptic_disable(chip); | 241 | max8997_haptic_disable(chip); |
242 | } | 242 | } |
243 | 243 | ||
244 | static int __devinit max8997_haptic_probe(struct platform_device *pdev) | 244 | static int max8997_haptic_probe(struct platform_device *pdev) |
245 | { | 245 | { |
246 | struct max8997_dev *iodev = dev_get_drvdata(pdev->dev.parent); | 246 | struct max8997_dev *iodev = dev_get_drvdata(pdev->dev.parent); |
247 | const struct max8997_platform_data *pdata = | 247 | const struct max8997_platform_data *pdata = |
diff --git a/drivers/input/misc/mc13783-pwrbutton.c b/drivers/input/misc/mc13783-pwrbutton.c index a0c35a058318..a50ad911c7f5 100644 --- a/drivers/input/misc/mc13783-pwrbutton.c +++ b/drivers/input/misc/mc13783-pwrbutton.c | |||
@@ -89,7 +89,7 @@ static irqreturn_t button_irq(int irq, void *_priv) | |||
89 | return IRQ_HANDLED; | 89 | return IRQ_HANDLED; |
90 | } | 90 | } |
91 | 91 | ||
92 | static int __devinit mc13783_pwrbutton_probe(struct platform_device *pdev) | 92 | static int mc13783_pwrbutton_probe(struct platform_device *pdev) |
93 | { | 93 | { |
94 | const struct mc13xxx_buttons_platform_data *pdata; | 94 | const struct mc13xxx_buttons_platform_data *pdata; |
95 | struct mc13xxx *mc13783 = dev_get_drvdata(pdev->dev.parent); | 95 | struct mc13xxx *mc13783 = dev_get_drvdata(pdev->dev.parent); |
diff --git a/drivers/input/misc/mma8450.c b/drivers/input/misc/mma8450.c index 050a246043dc..d4528cc47f8f 100644 --- a/drivers/input/misc/mma8450.c +++ b/drivers/input/misc/mma8450.c | |||
@@ -167,7 +167,7 @@ static void mma8450_close(struct input_polled_dev *dev) | |||
167 | /* | 167 | /* |
168 | * I2C init/probing/exit functions | 168 | * I2C init/probing/exit functions |
169 | */ | 169 | */ |
170 | static int __devinit mma8450_probe(struct i2c_client *c, | 170 | static int mma8450_probe(struct i2c_client *c, |
171 | const struct i2c_device_id *id) | 171 | const struct i2c_device_id *id) |
172 | { | 172 | { |
173 | struct input_polled_dev *idev; | 173 | struct input_polled_dev *idev; |
diff --git a/drivers/input/misc/mpu3050.c b/drivers/input/misc/mpu3050.c index ab114092b9a9..ff600565654e 100644 --- a/drivers/input/misc/mpu3050.c +++ b/drivers/input/misc/mpu3050.c | |||
@@ -257,7 +257,7 @@ static irqreturn_t mpu3050_interrupt_thread(int irq, void *data) | |||
257 | * | 257 | * |
258 | * Called during device probe; configures the sampling method. | 258 | * Called during device probe; configures the sampling method. |
259 | */ | 259 | */ |
260 | static int __devinit mpu3050_hw_init(struct mpu3050_sensor *sensor) | 260 | static int mpu3050_hw_init(struct mpu3050_sensor *sensor) |
261 | { | 261 | { |
262 | struct i2c_client *client = sensor->client; | 262 | struct i2c_client *client = sensor->client; |
263 | int ret; | 263 | int ret; |
@@ -306,7 +306,7 @@ static int __devinit mpu3050_hw_init(struct mpu3050_sensor *sensor) | |||
306 | * | 306 | * |
307 | * If present install the relevant sysfs interfaces and input device. | 307 | * If present install the relevant sysfs interfaces and input device. |
308 | */ | 308 | */ |
309 | static int __devinit mpu3050_probe(struct i2c_client *client, | 309 | static int mpu3050_probe(struct i2c_client *client, |
310 | const struct i2c_device_id *id) | 310 | const struct i2c_device_id *id) |
311 | { | 311 | { |
312 | struct mpu3050_sensor *sensor; | 312 | struct mpu3050_sensor *sensor; |
diff --git a/drivers/input/misc/pcap_keys.c b/drivers/input/misc/pcap_keys.c index afd3f5ae17f9..56d03ac3a430 100644 --- a/drivers/input/misc/pcap_keys.c +++ b/drivers/input/misc/pcap_keys.c | |||
@@ -48,7 +48,7 @@ static irqreturn_t pcap_keys_handler(int irq, void *_pcap_keys) | |||
48 | return IRQ_HANDLED; | 48 | return IRQ_HANDLED; |
49 | } | 49 | } |
50 | 50 | ||
51 | static int __devinit pcap_keys_probe(struct platform_device *pdev) | 51 | static int pcap_keys_probe(struct platform_device *pdev) |
52 | { | 52 | { |
53 | int err = -ENOMEM; | 53 | int err = -ENOMEM; |
54 | struct pcap_keys *pcap_keys; | 54 | struct pcap_keys *pcap_keys; |
diff --git a/drivers/input/misc/pcf50633-input.c b/drivers/input/misc/pcf50633-input.c index 3896b0f8e9bb..8efb898863c7 100644 --- a/drivers/input/misc/pcf50633-input.c +++ b/drivers/input/misc/pcf50633-input.c | |||
@@ -53,7 +53,7 @@ pcf50633_input_irq(int irq, void *data) | |||
53 | input_sync(input->input_dev); | 53 | input_sync(input->input_dev); |
54 | } | 54 | } |
55 | 55 | ||
56 | static int __devinit pcf50633_input_probe(struct platform_device *pdev) | 56 | static int pcf50633_input_probe(struct platform_device *pdev) |
57 | { | 57 | { |
58 | struct pcf50633_input *input; | 58 | struct pcf50633_input *input; |
59 | struct input_dev *input_dev; | 59 | struct input_dev *input_dev; |
diff --git a/drivers/input/misc/pcf8574_keypad.c b/drivers/input/misc/pcf8574_keypad.c index 6c480bf58456..dbe2093c284b 100644 --- a/drivers/input/misc/pcf8574_keypad.c +++ b/drivers/input/misc/pcf8574_keypad.c | |||
@@ -82,7 +82,7 @@ static irqreturn_t pcf8574_kp_irq_handler(int irq, void *dev_id) | |||
82 | return IRQ_HANDLED; | 82 | return IRQ_HANDLED; |
83 | } | 83 | } |
84 | 84 | ||
85 | static int __devinit pcf8574_kp_probe(struct i2c_client *client, const struct i2c_device_id *id) | 85 | static int pcf8574_kp_probe(struct i2c_client *client, const struct i2c_device_id *id) |
86 | { | 86 | { |
87 | int i, ret; | 87 | int i, ret; |
88 | struct input_dev *idev; | 88 | struct input_dev *idev; |
diff --git a/drivers/input/misc/pcspkr.c b/drivers/input/misc/pcspkr.c index 17d6555fec72..943b461aaf3f 100644 --- a/drivers/input/misc/pcspkr.c +++ b/drivers/input/misc/pcspkr.c | |||
@@ -63,7 +63,7 @@ static int pcspkr_event(struct input_dev *dev, unsigned int type, unsigned int c | |||
63 | return 0; | 63 | return 0; |
64 | } | 64 | } |
65 | 65 | ||
66 | static int __devinit pcspkr_probe(struct platform_device *dev) | 66 | static int pcspkr_probe(struct platform_device *dev) |
67 | { | 67 | { |
68 | struct input_dev *pcspkr_dev; | 68 | struct input_dev *pcspkr_dev; |
69 | int err; | 69 | int err; |
diff --git a/drivers/input/misc/pm8xxx-vibrator.c b/drivers/input/misc/pm8xxx-vibrator.c index 2e0a3bfeff07..1ac2b1f548a9 100644 --- a/drivers/input/misc/pm8xxx-vibrator.c +++ b/drivers/input/misc/pm8xxx-vibrator.c | |||
@@ -178,7 +178,7 @@ static int pm8xxx_vib_play_effect(struct input_dev *dev, void *data, | |||
178 | return 0; | 178 | return 0; |
179 | } | 179 | } |
180 | 180 | ||
181 | static int __devinit pm8xxx_vib_probe(struct platform_device *pdev) | 181 | static int pm8xxx_vib_probe(struct platform_device *pdev) |
182 | 182 | ||
183 | { | 183 | { |
184 | struct pm8xxx_vib *vib; | 184 | struct pm8xxx_vib *vib; |
diff --git a/drivers/input/misc/pmic8xxx-pwrkey.c b/drivers/input/misc/pmic8xxx-pwrkey.c index b2396e2ad369..26e49acefa9c 100644 --- a/drivers/input/misc/pmic8xxx-pwrkey.c +++ b/drivers/input/misc/pmic8xxx-pwrkey.c | |||
@@ -81,7 +81,7 @@ static int pmic8xxx_pwrkey_resume(struct device *dev) | |||
81 | static SIMPLE_DEV_PM_OPS(pm8xxx_pwr_key_pm_ops, | 81 | static SIMPLE_DEV_PM_OPS(pm8xxx_pwr_key_pm_ops, |
82 | pmic8xxx_pwrkey_suspend, pmic8xxx_pwrkey_resume); | 82 | pmic8xxx_pwrkey_suspend, pmic8xxx_pwrkey_resume); |
83 | 83 | ||
84 | static int __devinit pmic8xxx_pwrkey_probe(struct platform_device *pdev) | 84 | static int pmic8xxx_pwrkey_probe(struct platform_device *pdev) |
85 | { | 85 | { |
86 | struct input_dev *pwr; | 86 | struct input_dev *pwr; |
87 | int key_release_irq = platform_get_irq(pdev, 0); | 87 | 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 d40c2f630d5e..48b505bddb1c 100644 --- a/drivers/input/misc/pwm-beeper.c +++ b/drivers/input/misc/pwm-beeper.c | |||
@@ -65,7 +65,7 @@ static int pwm_beeper_event(struct input_dev *input, | |||
65 | return 0; | 65 | return 0; |
66 | } | 66 | } |
67 | 67 | ||
68 | static int __devinit pwm_beeper_probe(struct platform_device *pdev) | 68 | static int pwm_beeper_probe(struct platform_device *pdev) |
69 | { | 69 | { |
70 | unsigned long pwm_id = (unsigned long)pdev->dev.platform_data; | 70 | unsigned long pwm_id = (unsigned long)pdev->dev.platform_data; |
71 | struct pwm_beeper *beeper; | 71 | struct pwm_beeper *beeper; |
diff --git a/drivers/input/misc/rb532_button.c b/drivers/input/misc/rb532_button.c index 718dd8367b6a..91f71d6be57b 100644 --- a/drivers/input/misc/rb532_button.c +++ b/drivers/input/misc/rb532_button.c | |||
@@ -51,7 +51,7 @@ static void rb532_button_poll(struct input_polled_dev *poll_dev) | |||
51 | input_sync(poll_dev->input); | 51 | input_sync(poll_dev->input); |
52 | } | 52 | } |
53 | 53 | ||
54 | static int __devinit rb532_button_probe(struct platform_device *pdev) | 54 | static int rb532_button_probe(struct platform_device *pdev) |
55 | { | 55 | { |
56 | struct input_polled_dev *poll_dev; | 56 | struct input_polled_dev *poll_dev; |
57 | int error; | 57 | int error; |
diff --git a/drivers/input/misc/retu-pwrbutton.c b/drivers/input/misc/retu-pwrbutton.c index 4500027d82a0..389e84e26a9a 100644 --- a/drivers/input/misc/retu-pwrbutton.c +++ b/drivers/input/misc/retu-pwrbutton.c | |||
@@ -42,7 +42,7 @@ static irqreturn_t retu_pwrbutton_irq(int irq, void *_pwr) | |||
42 | return IRQ_HANDLED; | 42 | return IRQ_HANDLED; |
43 | } | 43 | } |
44 | 44 | ||
45 | static int __devinit retu_pwrbutton_probe(struct platform_device *pdev) | 45 | static int retu_pwrbutton_probe(struct platform_device *pdev) |
46 | { | 46 | { |
47 | struct retu_dev *rdev = dev_get_drvdata(pdev->dev.parent); | 47 | struct retu_dev *rdev = dev_get_drvdata(pdev->dev.parent); |
48 | struct input_dev *idev; | 48 | struct input_dev *idev; |
diff --git a/drivers/input/misc/rotary_encoder.c b/drivers/input/misc/rotary_encoder.c index b183a0e7a21a..cd3c363f7e2b 100644 --- a/drivers/input/misc/rotary_encoder.c +++ b/drivers/input/misc/rotary_encoder.c | |||
@@ -149,8 +149,7 @@ static struct of_device_id rotary_encoder_of_match[] = { | |||
149 | }; | 149 | }; |
150 | MODULE_DEVICE_TABLE(of, rotary_encoder_of_match); | 150 | MODULE_DEVICE_TABLE(of, rotary_encoder_of_match); |
151 | 151 | ||
152 | static struct rotary_encoder_platform_data * __devinit | 152 | static struct rotary_encoder_platform_data *rotary_encoder_parse_dt(struct device *dev) |
153 | rotary_encoder_parse_dt(struct device *dev) | ||
154 | { | 153 | { |
155 | const struct of_device_id *of_id = | 154 | const struct of_device_id *of_id = |
156 | of_match_device(rotary_encoder_of_match, dev); | 155 | of_match_device(rotary_encoder_of_match, dev); |
@@ -192,7 +191,7 @@ rotary_encoder_parse_dt(struct device *dev) | |||
192 | } | 191 | } |
193 | #endif | 192 | #endif |
194 | 193 | ||
195 | static int __devinit rotary_encoder_probe(struct platform_device *pdev) | 194 | static int rotary_encoder_probe(struct platform_device *pdev) |
196 | { | 195 | { |
197 | struct device *dev = &pdev->dev; | 196 | struct device *dev = &pdev->dev; |
198 | const struct rotary_encoder_platform_data *pdata = dev_get_platdata(dev); | 197 | const struct rotary_encoder_platform_data *pdata = dev_get_platdata(dev); |
diff --git a/drivers/input/misc/sgi_btns.c b/drivers/input/misc/sgi_btns.c index fd731e86e316..22ccd3f35607 100644 --- a/drivers/input/misc/sgi_btns.c +++ b/drivers/input/misc/sgi_btns.c | |||
@@ -91,7 +91,7 @@ static void handle_buttons(struct input_polled_dev *dev) | |||
91 | } | 91 | } |
92 | } | 92 | } |
93 | 93 | ||
94 | static int __devinit sgi_buttons_probe(struct platform_device *pdev) | 94 | static int sgi_buttons_probe(struct platform_device *pdev) |
95 | { | 95 | { |
96 | struct buttons_dev *bdev; | 96 | struct buttons_dev *bdev; |
97 | struct input_polled_dev *poll_dev; | 97 | struct input_polled_dev *poll_dev; |
diff --git a/drivers/input/misc/sparcspkr.c b/drivers/input/misc/sparcspkr.c index b9c870251f14..d0239b496399 100644 --- a/drivers/input/misc/sparcspkr.c +++ b/drivers/input/misc/sparcspkr.c | |||
@@ -139,7 +139,7 @@ static int grover_spkr_event(struct input_dev *dev, unsigned int type, unsigned | |||
139 | return 0; | 139 | return 0; |
140 | } | 140 | } |
141 | 141 | ||
142 | static int __devinit sparcspkr_probe(struct device *dev) | 142 | static int sparcspkr_probe(struct device *dev) |
143 | { | 143 | { |
144 | struct sparcspkr_state *state = dev_get_drvdata(dev); | 144 | struct sparcspkr_state *state = dev_get_drvdata(dev); |
145 | struct input_dev *input_dev; | 145 | struct input_dev *input_dev; |
@@ -182,7 +182,7 @@ static void sparcspkr_shutdown(struct platform_device *dev) | |||
182 | state->event(input_dev, EV_SND, SND_BELL, 0); | 182 | state->event(input_dev, EV_SND, SND_BELL, 0); |
183 | } | 183 | } |
184 | 184 | ||
185 | static int __devinit bbc_beep_probe(struct platform_device *op) | 185 | static int bbc_beep_probe(struct platform_device *op) |
186 | { | 186 | { |
187 | struct sparcspkr_state *state; | 187 | struct sparcspkr_state *state; |
188 | struct bbc_beep_info *info; | 188 | struct bbc_beep_info *info; |
@@ -267,7 +267,7 @@ static struct platform_driver bbc_beep_driver = { | |||
267 | .shutdown = sparcspkr_shutdown, | 267 | .shutdown = sparcspkr_shutdown, |
268 | }; | 268 | }; |
269 | 269 | ||
270 | static int __devinit grover_beep_probe(struct platform_device *op) | 270 | static int grover_beep_probe(struct platform_device *op) |
271 | { | 271 | { |
272 | struct sparcspkr_state *state; | 272 | struct sparcspkr_state *state; |
273 | struct grover_beep_info *info; | 273 | struct grover_beep_info *info; |
diff --git a/drivers/input/misc/twl4030-vibra.c b/drivers/input/misc/twl4030-vibra.c index 29f2207c5d04..21030266bb3f 100644 --- a/drivers/input/misc/twl4030-vibra.c +++ b/drivers/input/misc/twl4030-vibra.c | |||
@@ -207,7 +207,7 @@ static bool twl4030_vibra_check_coexist(struct twl4030_vibra_data *pdata, | |||
207 | return false; | 207 | return false; |
208 | } | 208 | } |
209 | 209 | ||
210 | static int __devinit twl4030_vibra_probe(struct platform_device *pdev) | 210 | static int twl4030_vibra_probe(struct platform_device *pdev) |
211 | { | 211 | { |
212 | struct twl4030_vibra_data *pdata = pdev->dev.platform_data; | 212 | struct twl4030_vibra_data *pdata = pdev->dev.platform_data; |
213 | struct device_node *twl4030_core_node = pdev->dev.parent->of_node; | 213 | struct device_node *twl4030_core_node = pdev->dev.parent->of_node; |
diff --git a/drivers/input/misc/twl6040-vibra.c b/drivers/input/misc/twl6040-vibra.c index 463e96380def..4b650e43fdd9 100644 --- a/drivers/input/misc/twl6040-vibra.c +++ b/drivers/input/misc/twl6040-vibra.c | |||
@@ -255,7 +255,7 @@ static int twl6040_vibra_suspend(struct device *dev) | |||
255 | 255 | ||
256 | static SIMPLE_DEV_PM_OPS(twl6040_vibra_pm_ops, twl6040_vibra_suspend, NULL); | 256 | static SIMPLE_DEV_PM_OPS(twl6040_vibra_pm_ops, twl6040_vibra_suspend, NULL); |
257 | 257 | ||
258 | static int __devinit twl6040_vibra_probe(struct platform_device *pdev) | 258 | static int twl6040_vibra_probe(struct platform_device *pdev) |
259 | { | 259 | { |
260 | struct twl6040_vibra_data *pdata = pdev->dev.platform_data; | 260 | struct twl6040_vibra_data *pdata = pdev->dev.platform_data; |
261 | struct device *twl6040_core_dev = pdev->dev.parent; | 261 | struct device *twl6040_core_dev = pdev->dev.parent; |
diff --git a/drivers/input/misc/wistron_btns.c b/drivers/input/misc/wistron_btns.c index 3f9ad238e4e9..46d79c516854 100644 --- a/drivers/input/misc/wistron_btns.c +++ b/drivers/input/misc/wistron_btns.c | |||
@@ -170,7 +170,7 @@ static u16 bios_pop_queue(void) | |||
170 | return regs.eax; | 170 | return regs.eax; |
171 | } | 171 | } |
172 | 172 | ||
173 | static void __devinit bios_attach(void) | 173 | static void bios_attach(void) |
174 | { | 174 | { |
175 | struct regs regs; | 175 | struct regs regs; |
176 | 176 | ||
@@ -190,7 +190,7 @@ static void bios_detach(void) | |||
190 | call_bios(®s); | 190 | call_bios(®s); |
191 | } | 191 | } |
192 | 192 | ||
193 | static u8 __devinit bios_get_cmos_address(void) | 193 | static u8 bios_get_cmos_address(void) |
194 | { | 194 | { |
195 | struct regs regs; | 195 | struct regs regs; |
196 | 196 | ||
@@ -202,7 +202,7 @@ static u8 __devinit bios_get_cmos_address(void) | |||
202 | return regs.ecx; | 202 | return regs.ecx; |
203 | } | 203 | } |
204 | 204 | ||
205 | static u16 __devinit bios_get_default_setting(u8 subsys) | 205 | static u16 bios_get_default_setting(u8 subsys) |
206 | { | 206 | { |
207 | struct regs regs; | 207 | struct regs regs; |
208 | 208 | ||
@@ -1052,7 +1052,7 @@ static struct led_classdev wistron_wifi_led = { | |||
1052 | .brightness_set = wistron_wifi_led_set, | 1052 | .brightness_set = wistron_wifi_led_set, |
1053 | }; | 1053 | }; |
1054 | 1054 | ||
1055 | static void __devinit wistron_led_init(struct device *parent) | 1055 | static void wistron_led_init(struct device *parent) |
1056 | { | 1056 | { |
1057 | if (leds_present & FE_WIFI_LED) { | 1057 | if (leds_present & FE_WIFI_LED) { |
1058 | u16 wifi = bios_get_default_setting(WIFI); | 1058 | u16 wifi = bios_get_default_setting(WIFI); |
@@ -1168,7 +1168,7 @@ static void wistron_poll(struct input_polled_dev *dev) | |||
1168 | dev->poll_interval = POLL_INTERVAL_DEFAULT; | 1168 | dev->poll_interval = POLL_INTERVAL_DEFAULT; |
1169 | } | 1169 | } |
1170 | 1170 | ||
1171 | static int __devinit wistron_setup_keymap(struct input_dev *dev, | 1171 | static int wistron_setup_keymap(struct input_dev *dev, |
1172 | struct key_entry *entry) | 1172 | struct key_entry *entry) |
1173 | { | 1173 | { |
1174 | switch (entry->type) { | 1174 | switch (entry->type) { |
@@ -1199,7 +1199,7 @@ static int __devinit wistron_setup_keymap(struct input_dev *dev, | |||
1199 | return 0; | 1199 | return 0; |
1200 | } | 1200 | } |
1201 | 1201 | ||
1202 | static int __devinit setup_input_dev(void) | 1202 | static int setup_input_dev(void) |
1203 | { | 1203 | { |
1204 | struct input_dev *input_dev; | 1204 | struct input_dev *input_dev; |
1205 | int error; | 1205 | int error; |
@@ -1237,7 +1237,7 @@ static int __devinit setup_input_dev(void) | |||
1237 | 1237 | ||
1238 | /* Driver core */ | 1238 | /* Driver core */ |
1239 | 1239 | ||
1240 | static int __devinit wistron_probe(struct platform_device *dev) | 1240 | static int wistron_probe(struct platform_device *dev) |
1241 | { | 1241 | { |
1242 | int err; | 1242 | int err; |
1243 | 1243 | ||
diff --git a/drivers/input/misc/wm831x-on.c b/drivers/input/misc/wm831x-on.c index 3a12951ad7fb..de7751e1b13c 100644 --- a/drivers/input/misc/wm831x-on.c +++ b/drivers/input/misc/wm831x-on.c | |||
@@ -69,7 +69,7 @@ static irqreturn_t wm831x_on_irq(int irq, void *data) | |||
69 | return IRQ_HANDLED; | 69 | return IRQ_HANDLED; |
70 | } | 70 | } |
71 | 71 | ||
72 | static int __devinit wm831x_on_probe(struct platform_device *pdev) | 72 | static int wm831x_on_probe(struct platform_device *pdev) |
73 | { | 73 | { |
74 | struct wm831x *wm831x = dev_get_drvdata(pdev->dev.parent); | 74 | struct wm831x *wm831x = dev_get_drvdata(pdev->dev.parent); |
75 | struct wm831x_on *wm831x_on; | 75 | struct wm831x_on *wm831x_on; |
diff --git a/drivers/input/misc/xen-kbdfront.c b/drivers/input/misc/xen-kbdfront.c index 6f7d99013031..e21c1816a8f9 100644 --- a/drivers/input/misc/xen-kbdfront.c +++ b/drivers/input/misc/xen-kbdfront.c | |||
@@ -104,7 +104,7 @@ static irqreturn_t input_handler(int rq, void *dev_id) | |||
104 | return IRQ_HANDLED; | 104 | return IRQ_HANDLED; |
105 | } | 105 | } |
106 | 106 | ||
107 | static int __devinit xenkbd_probe(struct xenbus_device *dev, | 107 | static int xenkbd_probe(struct xenbus_device *dev, |
108 | const struct xenbus_device_id *id) | 108 | const struct xenbus_device_id *id) |
109 | { | 109 | { |
110 | int ret, i, abs; | 110 | int ret, i, abs; |
diff --git a/drivers/input/mouse/gpio_mouse.c b/drivers/input/mouse/gpio_mouse.c index b3a8aa95a2d8..8e1fe82e16b7 100644 --- a/drivers/input/mouse/gpio_mouse.c +++ b/drivers/input/mouse/gpio_mouse.c | |||
@@ -46,7 +46,7 @@ static void gpio_mouse_scan(struct input_polled_dev *dev) | |||
46 | input_sync(input); | 46 | input_sync(input); |
47 | } | 47 | } |
48 | 48 | ||
49 | static int __devinit gpio_mouse_probe(struct platform_device *pdev) | 49 | static int gpio_mouse_probe(struct platform_device *pdev) |
50 | { | 50 | { |
51 | struct gpio_mouse_platform_data *pdata = pdev->dev.platform_data; | 51 | struct gpio_mouse_platform_data *pdata = pdev->dev.platform_data; |
52 | struct input_polled_dev *input_poll; | 52 | struct input_polled_dev *input_poll; |
diff --git a/drivers/input/mouse/maplemouse.c b/drivers/input/mouse/maplemouse.c index 03ccf02c5475..3541f362866b 100644 --- a/drivers/input/mouse/maplemouse.c +++ b/drivers/input/mouse/maplemouse.c | |||
@@ -64,7 +64,7 @@ static void dc_mouse_close(struct input_dev *dev) | |||
64 | } | 64 | } |
65 | 65 | ||
66 | /* allow the mouse to be used */ | 66 | /* allow the mouse to be used */ |
67 | static int __devinit probe_maple_mouse(struct device *dev) | 67 | static int probe_maple_mouse(struct device *dev) |
68 | { | 68 | { |
69 | struct maple_device *mdev = to_maple_dev(dev); | 69 | struct maple_device *mdev = to_maple_dev(dev); |
70 | struct maple_driver *mdrv = to_maple_driver(dev->driver); | 70 | struct maple_driver *mdrv = to_maple_driver(dev->driver); |
diff --git a/drivers/input/mouse/navpoint.c b/drivers/input/mouse/navpoint.c index ac4e0771d05a..f51df6bfc52b 100644 --- a/drivers/input/mouse/navpoint.c +++ b/drivers/input/mouse/navpoint.c | |||
@@ -206,7 +206,7 @@ static void navpoint_close(struct input_dev *input) | |||
206 | navpoint_down(navpoint); | 206 | navpoint_down(navpoint); |
207 | } | 207 | } |
208 | 208 | ||
209 | static int __devinit navpoint_probe(struct platform_device *pdev) | 209 | static int navpoint_probe(struct platform_device *pdev) |
210 | { | 210 | { |
211 | const struct navpoint_platform_data *pdata = | 211 | const struct navpoint_platform_data *pdata = |
212 | dev_get_platdata(&pdev->dev); | 212 | dev_get_platdata(&pdev->dev); |
diff --git a/drivers/input/mouse/pxa930_trkball.c b/drivers/input/mouse/pxa930_trkball.c index 953a0481efc1..ed808fce0ac0 100644 --- a/drivers/input/mouse/pxa930_trkball.c +++ b/drivers/input/mouse/pxa930_trkball.c | |||
@@ -143,7 +143,7 @@ static void pxa930_trkball_close(struct input_dev *dev) | |||
143 | pxa930_trkball_disable(trkball); | 143 | pxa930_trkball_disable(trkball); |
144 | } | 144 | } |
145 | 145 | ||
146 | static int __devinit pxa930_trkball_probe(struct platform_device *pdev) | 146 | static int pxa930_trkball_probe(struct platform_device *pdev) |
147 | { | 147 | { |
148 | struct pxa930_trkball *trkball; | 148 | struct pxa930_trkball *trkball; |
149 | struct input_dev *input; | 149 | struct input_dev *input; |
diff --git a/drivers/input/mouse/synaptics_i2c.c b/drivers/input/mouse/synaptics_i2c.c index fa8f162cbee3..007c378bd694 100644 --- a/drivers/input/mouse/synaptics_i2c.c +++ b/drivers/input/mouse/synaptics_i2c.c | |||
@@ -535,7 +535,7 @@ static struct synaptics_i2c *synaptics_i2c_touch_create(struct i2c_client *clien | |||
535 | return touch; | 535 | return touch; |
536 | } | 536 | } |
537 | 537 | ||
538 | static int __devinit synaptics_i2c_probe(struct i2c_client *client, | 538 | static int synaptics_i2c_probe(struct i2c_client *client, |
539 | const struct i2c_device_id *dev_id) | 539 | const struct i2c_device_id *dev_id) |
540 | { | 540 | { |
541 | int ret; | 541 | int ret; |
diff --git a/drivers/input/serio/altera_ps2.c b/drivers/input/serio/altera_ps2.c index 50da8e5634c3..ea46ddcf2ed5 100644 --- a/drivers/input/serio/altera_ps2.c +++ b/drivers/input/serio/altera_ps2.c | |||
@@ -81,7 +81,7 @@ static void altera_ps2_close(struct serio *io) | |||
81 | /* | 81 | /* |
82 | * Add one device to this driver. | 82 | * Add one device to this driver. |
83 | */ | 83 | */ |
84 | static int __devinit altera_ps2_probe(struct platform_device *pdev) | 84 | static int altera_ps2_probe(struct platform_device *pdev) |
85 | { | 85 | { |
86 | struct ps2if *ps2if; | 86 | struct ps2if *ps2if; |
87 | struct serio *serio; | 87 | struct serio *serio; |
diff --git a/drivers/input/serio/ambakmi.c b/drivers/input/serio/ambakmi.c index beb08160b39e..7c502c391bbc 100644 --- a/drivers/input/serio/ambakmi.c +++ b/drivers/input/serio/ambakmi.c | |||
@@ -107,7 +107,7 @@ static void amba_kmi_close(struct serio *io) | |||
107 | clk_disable_unprepare(kmi->clk); | 107 | clk_disable_unprepare(kmi->clk); |
108 | } | 108 | } |
109 | 109 | ||
110 | static int __devinit amba_kmi_probe(struct amba_device *dev, | 110 | static int amba_kmi_probe(struct amba_device *dev, |
111 | const struct amba_id *id) | 111 | const struct amba_id *id) |
112 | { | 112 | { |
113 | struct amba_kmi_port *kmi; | 113 | struct amba_kmi_port *kmi; |
diff --git a/drivers/input/serio/arc_ps2.c b/drivers/input/serio/arc_ps2.c index 72fda8ff4e10..e618c2a825aa 100644 --- a/drivers/input/serio/arc_ps2.c +++ b/drivers/input/serio/arc_ps2.c | |||
@@ -123,7 +123,7 @@ static void arc_ps2_close(struct serio *io) | |||
123 | port->status_addr); | 123 | port->status_addr); |
124 | } | 124 | } |
125 | 125 | ||
126 | static void __iomem * __devinit arc_ps2_calc_addr(struct arc_ps2_data *arc_ps2, | 126 | static void __iomem *arc_ps2_calc_addr(struct arc_ps2_data *arc_ps2, |
127 | int index, bool status) | 127 | int index, bool status) |
128 | { | 128 | { |
129 | void __iomem *addr; | 129 | void __iomem *addr; |
@@ -135,7 +135,7 @@ static void __iomem * __devinit arc_ps2_calc_addr(struct arc_ps2_data *arc_ps2, | |||
135 | return addr; | 135 | return addr; |
136 | } | 136 | } |
137 | 137 | ||
138 | static void __devinit arc_ps2_inhibit_ports(struct arc_ps2_data *arc_ps2) | 138 | static void arc_ps2_inhibit_ports(struct arc_ps2_data *arc_ps2) |
139 | { | 139 | { |
140 | void __iomem *addr; | 140 | void __iomem *addr; |
141 | u32 val; | 141 | u32 val; |
@@ -149,7 +149,7 @@ static void __devinit arc_ps2_inhibit_ports(struct arc_ps2_data *arc_ps2) | |||
149 | } | 149 | } |
150 | } | 150 | } |
151 | 151 | ||
152 | static int __devinit arc_ps2_create_port(struct platform_device *pdev, | 152 | static int arc_ps2_create_port(struct platform_device *pdev, |
153 | struct arc_ps2_data *arc_ps2, | 153 | struct arc_ps2_data *arc_ps2, |
154 | int index) | 154 | int index) |
155 | { | 155 | { |
@@ -180,7 +180,7 @@ static int __devinit arc_ps2_create_port(struct platform_device *pdev, | |||
180 | return 0; | 180 | return 0; |
181 | } | 181 | } |
182 | 182 | ||
183 | static int __devinit arc_ps2_probe(struct platform_device *pdev) | 183 | static int arc_ps2_probe(struct platform_device *pdev) |
184 | { | 184 | { |
185 | struct arc_ps2_data *arc_ps2; | 185 | struct arc_ps2_data *arc_ps2; |
186 | struct resource *res; | 186 | struct resource *res; |
diff --git a/drivers/input/serio/ct82c710.c b/drivers/input/serio/ct82c710.c index 64bcd1559c68..e8a8748bae6f 100644 --- a/drivers/input/serio/ct82c710.c +++ b/drivers/input/serio/ct82c710.c | |||
@@ -175,7 +175,7 @@ static int __init ct82c710_detect(void) | |||
175 | return 0; | 175 | return 0; |
176 | } | 176 | } |
177 | 177 | ||
178 | static int __devinit ct82c710_probe(struct platform_device *dev) | 178 | static int ct82c710_probe(struct platform_device *dev) |
179 | { | 179 | { |
180 | ct82c710_port = kzalloc(sizeof(struct serio), GFP_KERNEL); | 180 | ct82c710_port = kzalloc(sizeof(struct serio), GFP_KERNEL); |
181 | if (!ct82c710_port) | 181 | if (!ct82c710_port) |
diff --git a/drivers/input/serio/gscps2.c b/drivers/input/serio/gscps2.c index 49cb7ca55ff6..a36a4667ddae 100644 --- a/drivers/input/serio/gscps2.c +++ b/drivers/input/serio/gscps2.c | |||
@@ -327,7 +327,7 @@ static void gscps2_close(struct serio *port) | |||
327 | * @return: success/error report | 327 | * @return: success/error report |
328 | */ | 328 | */ |
329 | 329 | ||
330 | static int __devinit gscps2_probe(struct parisc_device *dev) | 330 | static int gscps2_probe(struct parisc_device *dev) |
331 | { | 331 | { |
332 | struct gscps2port *ps2port; | 332 | struct gscps2port *ps2port; |
333 | struct serio *serio; | 333 | struct serio *serio; |
diff --git a/drivers/input/serio/i8042-sparcio.h b/drivers/input/serio/i8042-sparcio.h index 3f6c835ae005..c11748575786 100644 --- a/drivers/input/serio/i8042-sparcio.h +++ b/drivers/input/serio/i8042-sparcio.h | |||
@@ -49,7 +49,7 @@ static inline void i8042_write_command(int val) | |||
49 | #define OBP_PS2MS_NAME1 "kdmouse" | 49 | #define OBP_PS2MS_NAME1 "kdmouse" |
50 | #define OBP_PS2MS_NAME2 "mouse" | 50 | #define OBP_PS2MS_NAME2 "mouse" |
51 | 51 | ||
52 | static int __devinit sparc_i8042_probe(struct platform_device *op) | 52 | static int sparc_i8042_probe(struct platform_device *op) |
53 | { | 53 | { |
54 | struct device_node *dp = op->dev.of_node; | 54 | struct device_node *dp = op->dev.of_node; |
55 | 55 | ||
diff --git a/drivers/input/serio/maceps2.c b/drivers/input/serio/maceps2.c index 2226277089db..057240e3a74a 100644 --- a/drivers/input/serio/maceps2.c +++ b/drivers/input/serio/maceps2.c | |||
@@ -116,7 +116,7 @@ static void maceps2_close(struct serio *dev) | |||
116 | } | 116 | } |
117 | 117 | ||
118 | 118 | ||
119 | static struct serio * __devinit maceps2_allocate_port(int idx) | 119 | static struct serio *maceps2_allocate_port(int idx) |
120 | { | 120 | { |
121 | struct serio *serio; | 121 | struct serio *serio; |
122 | 122 | ||
@@ -135,7 +135,7 @@ static struct serio * __devinit maceps2_allocate_port(int idx) | |||
135 | return serio; | 135 | return serio; |
136 | } | 136 | } |
137 | 137 | ||
138 | static int __devinit maceps2_probe(struct platform_device *dev) | 138 | static int maceps2_probe(struct platform_device *dev) |
139 | { | 139 | { |
140 | maceps2_port[0] = maceps2_allocate_port(0); | 140 | maceps2_port[0] = maceps2_allocate_port(0); |
141 | maceps2_port[1] = maceps2_allocate_port(1); | 141 | maceps2_port[1] = maceps2_allocate_port(1); |
diff --git a/drivers/input/serio/pcips2.c b/drivers/input/serio/pcips2.c index 98093731ae62..1914290674ef 100644 --- a/drivers/input/serio/pcips2.c +++ b/drivers/input/serio/pcips2.c | |||
@@ -127,7 +127,7 @@ static void pcips2_close(struct serio *io) | |||
127 | free_irq(ps2if->dev->irq, ps2if); | 127 | free_irq(ps2if->dev->irq, ps2if); |
128 | } | 128 | } |
129 | 129 | ||
130 | static int __devinit pcips2_probe(struct pci_dev *dev, const struct pci_device_id *id) | 130 | static int pcips2_probe(struct pci_dev *dev, const struct pci_device_id *id) |
131 | { | 131 | { |
132 | struct pcips2_data *ps2if; | 132 | struct pcips2_data *ps2if; |
133 | struct serio *serio; | 133 | struct serio *serio; |
diff --git a/drivers/input/serio/q40kbd.c b/drivers/input/serio/q40kbd.c index 530488006105..3c58f6b2fe54 100644 --- a/drivers/input/serio/q40kbd.c +++ b/drivers/input/serio/q40kbd.c | |||
@@ -122,7 +122,7 @@ static void q40kbd_close(struct serio *port) | |||
122 | q40kbd_flush(q40kbd); | 122 | q40kbd_flush(q40kbd); |
123 | } | 123 | } |
124 | 124 | ||
125 | static int __devinit q40kbd_probe(struct platform_device *pdev) | 125 | static int q40kbd_probe(struct platform_device *pdev) |
126 | { | 126 | { |
127 | struct q40kbd *q40kbd; | 127 | struct q40kbd *q40kbd; |
128 | struct serio *port; | 128 | struct serio *port; |
diff --git a/drivers/input/serio/rpckbd.c b/drivers/input/serio/rpckbd.c index a5100d455e30..d64f053ae3ee 100644 --- a/drivers/input/serio/rpckbd.c +++ b/drivers/input/serio/rpckbd.c | |||
@@ -114,7 +114,7 @@ static void rpckbd_close(struct serio *port) | |||
114 | * Allocate and initialize serio structure for subsequent registration | 114 | * Allocate and initialize serio structure for subsequent registration |
115 | * with serio core. | 115 | * with serio core. |
116 | */ | 116 | */ |
117 | static int __devinit rpckbd_probe(struct platform_device *dev) | 117 | static int rpckbd_probe(struct platform_device *dev) |
118 | { | 118 | { |
119 | struct rpckbd_data *rpckbd; | 119 | struct rpckbd_data *rpckbd; |
120 | struct serio *serio; | 120 | struct serio *serio; |
diff --git a/drivers/input/serio/sa1111ps2.c b/drivers/input/serio/sa1111ps2.c index 4aacf4f94e3e..4458ec3b1d2a 100644 --- a/drivers/input/serio/sa1111ps2.c +++ b/drivers/input/serio/sa1111ps2.c | |||
@@ -193,7 +193,7 @@ static void ps2_close(struct serio *io) | |||
193 | /* | 193 | /* |
194 | * Clear the input buffer. | 194 | * Clear the input buffer. |
195 | */ | 195 | */ |
196 | static void __devinit ps2_clear_input(struct ps2if *ps2if) | 196 | static void ps2_clear_input(struct ps2if *ps2if) |
197 | { | 197 | { |
198 | int maxread = 100; | 198 | int maxread = 100; |
199 | 199 | ||
@@ -203,7 +203,7 @@ static void __devinit ps2_clear_input(struct ps2if *ps2if) | |||
203 | } | 203 | } |
204 | } | 204 | } |
205 | 205 | ||
206 | static unsigned int __devinit ps2_test_one(struct ps2if *ps2if, | 206 | static unsigned int ps2_test_one(struct ps2if *ps2if, |
207 | unsigned int mask) | 207 | unsigned int mask) |
208 | { | 208 | { |
209 | unsigned int val; | 209 | unsigned int val; |
@@ -220,7 +220,7 @@ static unsigned int __devinit ps2_test_one(struct ps2if *ps2if, | |||
220 | * Test the keyboard interface. We basically check to make sure that | 220 | * Test the keyboard interface. We basically check to make sure that |
221 | * we can drive each line to the keyboard independently of each other. | 221 | * we can drive each line to the keyboard independently of each other. |
222 | */ | 222 | */ |
223 | static int __devinit ps2_test(struct ps2if *ps2if) | 223 | static int ps2_test(struct ps2if *ps2if) |
224 | { | 224 | { |
225 | unsigned int stat; | 225 | unsigned int stat; |
226 | int ret = 0; | 226 | int ret = 0; |
@@ -251,7 +251,7 @@ static int __devinit ps2_test(struct ps2if *ps2if) | |||
251 | /* | 251 | /* |
252 | * Add one device to this driver. | 252 | * Add one device to this driver. |
253 | */ | 253 | */ |
254 | static int __devinit ps2_probe(struct sa1111_dev *dev) | 254 | static int ps2_probe(struct sa1111_dev *dev) |
255 | { | 255 | { |
256 | struct ps2if *ps2if; | 256 | struct ps2if *ps2if; |
257 | struct serio *serio; | 257 | struct serio *serio; |
diff --git a/drivers/input/serio/xilinx_ps2.c b/drivers/input/serio/xilinx_ps2.c index f929d8f2dc50..ed5e8e625bff 100644 --- a/drivers/input/serio/xilinx_ps2.c +++ b/drivers/input/serio/xilinx_ps2.c | |||
@@ -233,7 +233,7 @@ static void sxps2_close(struct serio *pserio) | |||
233 | * It returns 0, if the driver is bound to the PS/2 device, or a negative | 233 | * It returns 0, if the driver is bound to the PS/2 device, or a negative |
234 | * value if there is an error. | 234 | * value if there is an error. |
235 | */ | 235 | */ |
236 | static int __devinit xps2_of_probe(struct platform_device *ofdev) | 236 | static int xps2_of_probe(struct platform_device *ofdev) |
237 | { | 237 | { |
238 | struct resource r_irq; /* Interrupt resources */ | 238 | struct resource r_irq; /* Interrupt resources */ |
239 | struct resource r_mem; /* IO mem resources */ | 239 | struct resource r_mem; /* IO mem resources */ |
diff --git a/drivers/input/touchscreen/88pm860x-ts.c b/drivers/input/touchscreen/88pm860x-ts.c index e609db85bea1..183d35b9d07a 100644 --- a/drivers/input/touchscreen/88pm860x-ts.c +++ b/drivers/input/touchscreen/88pm860x-ts.c | |||
@@ -115,7 +115,7 @@ static void pm860x_touch_close(struct input_dev *dev) | |||
115 | } | 115 | } |
116 | 116 | ||
117 | #ifdef CONFIG_OF | 117 | #ifdef CONFIG_OF |
118 | static int __devinit pm860x_touch_dt_init(struct platform_device *pdev, | 118 | static int pm860x_touch_dt_init(struct platform_device *pdev, |
119 | struct pm860x_chip *chip, | 119 | struct pm860x_chip *chip, |
120 | int *res_x) | 120 | int *res_x) |
121 | { | 121 | { |
@@ -169,7 +169,7 @@ static int __devinit pm860x_touch_dt_init(struct platform_device *pdev, | |||
169 | #define pm860x_touch_dt_init(x, y, z) (-1) | 169 | #define pm860x_touch_dt_init(x, y, z) (-1) |
170 | #endif | 170 | #endif |
171 | 171 | ||
172 | static int __devinit pm860x_touch_probe(struct platform_device *pdev) | 172 | static int pm860x_touch_probe(struct platform_device *pdev) |
173 | { | 173 | { |
174 | struct pm860x_chip *chip = dev_get_drvdata(pdev->dev.parent); | 174 | struct pm860x_chip *chip = dev_get_drvdata(pdev->dev.parent); |
175 | struct pm860x_touch_pdata *pdata = pdev->dev.platform_data; | 175 | struct pm860x_touch_pdata *pdata = pdev->dev.platform_data; |
diff --git a/drivers/input/touchscreen/ad7877.c b/drivers/input/touchscreen/ad7877.c index d2df6a48ba65..61c0a98d6dd7 100644 --- a/drivers/input/touchscreen/ad7877.c +++ b/drivers/input/touchscreen/ad7877.c | |||
@@ -682,7 +682,7 @@ static void ad7877_setup_ts_def_msg(struct spi_device *spi, struct ad7877 *ts) | |||
682 | } | 682 | } |
683 | } | 683 | } |
684 | 684 | ||
685 | static int __devinit ad7877_probe(struct spi_device *spi) | 685 | static int ad7877_probe(struct spi_device *spi) |
686 | { | 686 | { |
687 | struct ad7877 *ts; | 687 | struct ad7877 *ts; |
688 | struct input_dev *input_dev; | 688 | struct input_dev *input_dev; |
diff --git a/drivers/input/touchscreen/ad7879-i2c.c b/drivers/input/touchscreen/ad7879-i2c.c index 850c95d69198..b155770c521d 100644 --- a/drivers/input/touchscreen/ad7879-i2c.c +++ b/drivers/input/touchscreen/ad7879-i2c.c | |||
@@ -54,7 +54,7 @@ static const struct ad7879_bus_ops ad7879_i2c_bus_ops = { | |||
54 | .write = ad7879_i2c_write, | 54 | .write = ad7879_i2c_write, |
55 | }; | 55 | }; |
56 | 56 | ||
57 | static int __devinit ad7879_i2c_probe(struct i2c_client *client, | 57 | static int ad7879_i2c_probe(struct i2c_client *client, |
58 | const struct i2c_device_id *id) | 58 | const struct i2c_device_id *id) |
59 | { | 59 | { |
60 | struct ad7879 *ts; | 60 | struct ad7879 *ts; |
diff --git a/drivers/input/touchscreen/ad7879-spi.c b/drivers/input/touchscreen/ad7879-spi.c index 86b0fdb6046b..c9b73e0b6528 100644 --- a/drivers/input/touchscreen/ad7879-spi.c +++ b/drivers/input/touchscreen/ad7879-spi.c | |||
@@ -110,7 +110,7 @@ static const struct ad7879_bus_ops ad7879_spi_bus_ops = { | |||
110 | .write = ad7879_spi_write, | 110 | .write = ad7879_spi_write, |
111 | }; | 111 | }; |
112 | 112 | ||
113 | static int __devinit ad7879_spi_probe(struct spi_device *spi) | 113 | static int ad7879_spi_probe(struct spi_device *spi) |
114 | { | 114 | { |
115 | struct ad7879 *ts; | 115 | struct ad7879 *ts; |
116 | int err; | 116 | int err; |
diff --git a/drivers/input/touchscreen/ads7846.c b/drivers/input/touchscreen/ads7846.c index 560484de0bfb..156a36b43bff 100644 --- a/drivers/input/touchscreen/ads7846.c +++ b/drivers/input/touchscreen/ads7846.c | |||
@@ -955,7 +955,7 @@ static int ads7846_resume(struct device *dev) | |||
955 | 955 | ||
956 | static SIMPLE_DEV_PM_OPS(ads7846_pm, ads7846_suspend, ads7846_resume); | 956 | static SIMPLE_DEV_PM_OPS(ads7846_pm, ads7846_suspend, ads7846_resume); |
957 | 957 | ||
958 | static int __devinit ads7846_setup_pendown(struct spi_device *spi, | 958 | static int ads7846_setup_pendown(struct spi_device *spi, |
959 | struct ads7846 *ts) | 959 | struct ads7846 *ts) |
960 | { | 960 | { |
961 | struct ads7846_platform_data *pdata = spi->dev.platform_data; | 961 | struct ads7846_platform_data *pdata = spi->dev.platform_data; |
@@ -997,7 +997,7 @@ static int __devinit ads7846_setup_pendown(struct spi_device *spi, | |||
997 | * Set up the transfers to read touchscreen state; this assumes we | 997 | * Set up the transfers to read touchscreen state; this assumes we |
998 | * use formula #2 for pressure, not #3. | 998 | * use formula #2 for pressure, not #3. |
999 | */ | 999 | */ |
1000 | static void __devinit ads7846_setup_spi_msg(struct ads7846 *ts, | 1000 | static void ads7846_setup_spi_msg(struct ads7846 *ts, |
1001 | const struct ads7846_platform_data *pdata) | 1001 | const struct ads7846_platform_data *pdata) |
1002 | { | 1002 | { |
1003 | struct spi_message *m = &ts->msg[0]; | 1003 | struct spi_message *m = &ts->msg[0]; |
@@ -1196,7 +1196,7 @@ static void __devinit ads7846_setup_spi_msg(struct ads7846 *ts, | |||
1196 | spi_message_add_tail(x, m); | 1196 | spi_message_add_tail(x, m); |
1197 | } | 1197 | } |
1198 | 1198 | ||
1199 | static int __devinit ads7846_probe(struct spi_device *spi) | 1199 | static int ads7846_probe(struct spi_device *spi) |
1200 | { | 1200 | { |
1201 | struct ads7846 *ts; | 1201 | struct ads7846 *ts; |
1202 | struct ads7846_packet *packet; | 1202 | struct ads7846_packet *packet; |
diff --git a/drivers/input/touchscreen/atmel_mxt_ts.c b/drivers/input/touchscreen/atmel_mxt_ts.c index 6199303d9d3c..cd961bcf9f0e 100644 --- a/drivers/input/touchscreen/atmel_mxt_ts.c +++ b/drivers/input/touchscreen/atmel_mxt_ts.c | |||
@@ -1095,7 +1095,7 @@ static void mxt_input_close(struct input_dev *dev) | |||
1095 | mxt_stop(data); | 1095 | mxt_stop(data); |
1096 | } | 1096 | } |
1097 | 1097 | ||
1098 | static int __devinit mxt_probe(struct i2c_client *client, | 1098 | static int mxt_probe(struct i2c_client *client, |
1099 | const struct i2c_device_id *id) | 1099 | const struct i2c_device_id *id) |
1100 | { | 1100 | { |
1101 | const struct mxt_platform_data *pdata = client->dev.platform_data; | 1101 | const struct mxt_platform_data *pdata = client->dev.platform_data; |
diff --git a/drivers/input/touchscreen/atmel_tsadcc.c b/drivers/input/touchscreen/atmel_tsadcc.c index 53712b9142a5..4b4f5ab76e5c 100644 --- a/drivers/input/touchscreen/atmel_tsadcc.c +++ b/drivers/input/touchscreen/atmel_tsadcc.c | |||
@@ -177,7 +177,7 @@ static irqreturn_t atmel_tsadcc_interrupt(int irq, void *dev) | |||
177 | * The functions for inserting/removing us as a module. | 177 | * The functions for inserting/removing us as a module. |
178 | */ | 178 | */ |
179 | 179 | ||
180 | static int __devinit atmel_tsadcc_probe(struct platform_device *pdev) | 180 | static int atmel_tsadcc_probe(struct platform_device *pdev) |
181 | { | 181 | { |
182 | struct atmel_tsadcc *ts_dev; | 182 | struct atmel_tsadcc *ts_dev; |
183 | struct input_dev *input_dev; | 183 | struct input_dev *input_dev; |
diff --git a/drivers/input/touchscreen/auo-pixcir-ts.c b/drivers/input/touchscreen/auo-pixcir-ts.c index 912926dd97c0..cdd233f3ed8e 100644 --- a/drivers/input/touchscreen/auo-pixcir-ts.c +++ b/drivers/input/touchscreen/auo-pixcir-ts.c | |||
@@ -286,7 +286,7 @@ static int auo_pixcir_power_mode(struct auo_pixcir_ts *ts, int mode) | |||
286 | return 0; | 286 | return 0; |
287 | } | 287 | } |
288 | 288 | ||
289 | static __devinit int auo_pixcir_int_config(struct auo_pixcir_ts *ts, | 289 | static int auo_pixcir_int_config(struct auo_pixcir_ts *ts, |
290 | int int_setting) | 290 | int int_setting) |
291 | { | 291 | { |
292 | struct i2c_client *client = ts->client; | 292 | struct i2c_client *client = ts->client; |
@@ -482,7 +482,7 @@ unlock: | |||
482 | static SIMPLE_DEV_PM_OPS(auo_pixcir_pm_ops, auo_pixcir_suspend, | 482 | static SIMPLE_DEV_PM_OPS(auo_pixcir_pm_ops, auo_pixcir_suspend, |
483 | auo_pixcir_resume); | 483 | auo_pixcir_resume); |
484 | 484 | ||
485 | static int __devinit auo_pixcir_probe(struct i2c_client *client, | 485 | static int auo_pixcir_probe(struct i2c_client *client, |
486 | const struct i2c_device_id *id) | 486 | const struct i2c_device_id *id) |
487 | { | 487 | { |
488 | const struct auo_pixcir_ts_platdata *pdata = client->dev.platform_data; | 488 | 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 c2be1fe51923..bf90391aae59 100644 --- a/drivers/input/touchscreen/bu21013_ts.c +++ b/drivers/input/touchscreen/bu21013_ts.c | |||
@@ -429,7 +429,7 @@ static void bu21013_free_irq(struct bu21013_ts_data *bu21013_data) | |||
429 | * This function used to initializes the i2c-client touchscreen | 429 | * This function used to initializes the i2c-client touchscreen |
430 | * driver and returns integer. | 430 | * driver and returns integer. |
431 | */ | 431 | */ |
432 | static int __devinit bu21013_probe(struct i2c_client *client, | 432 | static int bu21013_probe(struct i2c_client *client, |
433 | const struct i2c_device_id *id) | 433 | const struct i2c_device_id *id) |
434 | { | 434 | { |
435 | struct bu21013_ts_data *bu21013_data; | 435 | struct bu21013_ts_data *bu21013_data; |
diff --git a/drivers/input/touchscreen/cy8ctmg110_ts.c b/drivers/input/touchscreen/cy8ctmg110_ts.c index 9a2044f978ae..0aaa24ec6f51 100644 --- a/drivers/input/touchscreen/cy8ctmg110_ts.c +++ b/drivers/input/touchscreen/cy8ctmg110_ts.c | |||
@@ -175,7 +175,7 @@ static irqreturn_t cy8ctmg110_irq_thread(int irq, void *dev_id) | |||
175 | return IRQ_HANDLED; | 175 | return IRQ_HANDLED; |
176 | } | 176 | } |
177 | 177 | ||
178 | static int __devinit cy8ctmg110_probe(struct i2c_client *client, | 178 | static int cy8ctmg110_probe(struct i2c_client *client, |
179 | const struct i2c_device_id *id) | 179 | const struct i2c_device_id *id) |
180 | { | 180 | { |
181 | const struct cy8ctmg110_pdata *pdata = client->dev.platform_data; | 181 | const struct cy8ctmg110_pdata *pdata = client->dev.platform_data; |
diff --git a/drivers/input/touchscreen/cyttsp_i2c.c b/drivers/input/touchscreen/cyttsp_i2c.c index 1a7aca935b26..167e9834e597 100644 --- a/drivers/input/touchscreen/cyttsp_i2c.c +++ b/drivers/input/touchscreen/cyttsp_i2c.c | |||
@@ -81,7 +81,7 @@ static const struct cyttsp_bus_ops cyttsp_i2c_bus_ops = { | |||
81 | .read = cyttsp_i2c_read_block_data, | 81 | .read = cyttsp_i2c_read_block_data, |
82 | }; | 82 | }; |
83 | 83 | ||
84 | static int __devinit cyttsp_i2c_probe(struct i2c_client *client, | 84 | static int cyttsp_i2c_probe(struct i2c_client *client, |
85 | const struct i2c_device_id *id) | 85 | const struct i2c_device_id *id) |
86 | { | 86 | { |
87 | struct cyttsp *ts; | 87 | struct cyttsp *ts; |
diff --git a/drivers/input/touchscreen/cyttsp_spi.c b/drivers/input/touchscreen/cyttsp_spi.c index 915af4cfe2b2..8ea29d9ae3bc 100644 --- a/drivers/input/touchscreen/cyttsp_spi.c +++ b/drivers/input/touchscreen/cyttsp_spi.c | |||
@@ -147,7 +147,7 @@ static const struct cyttsp_bus_ops cyttsp_spi_bus_ops = { | |||
147 | .read = cyttsp_spi_read_block_data, | 147 | .read = cyttsp_spi_read_block_data, |
148 | }; | 148 | }; |
149 | 149 | ||
150 | static int __devinit cyttsp_spi_probe(struct spi_device *spi) | 150 | static int cyttsp_spi_probe(struct spi_device *spi) |
151 | { | 151 | { |
152 | struct cyttsp *ts; | 152 | struct cyttsp *ts; |
153 | int error; | 153 | int error; |
diff --git a/drivers/input/touchscreen/da9034-ts.c b/drivers/input/touchscreen/da9034-ts.c index ec156a6bf59d..53a95244a14c 100644 --- a/drivers/input/touchscreen/da9034-ts.c +++ b/drivers/input/touchscreen/da9034-ts.c | |||
@@ -297,7 +297,7 @@ static void da9034_touch_close(struct input_dev *dev) | |||
297 | } | 297 | } |
298 | 298 | ||
299 | 299 | ||
300 | static int __devinit da9034_touch_probe(struct platform_device *pdev) | 300 | static int da9034_touch_probe(struct platform_device *pdev) |
301 | { | 301 | { |
302 | struct da9034_touch_pdata *pdata = pdev->dev.platform_data; | 302 | struct da9034_touch_pdata *pdata = pdev->dev.platform_data; |
303 | struct da9034_touch *touch; | 303 | struct da9034_touch *touch; |
diff --git a/drivers/input/touchscreen/da9052_tsi.c b/drivers/input/touchscreen/da9052_tsi.c index 5dfb39b21c90..8a493b962db3 100644 --- a/drivers/input/touchscreen/da9052_tsi.c +++ b/drivers/input/touchscreen/da9052_tsi.c | |||
@@ -143,7 +143,7 @@ static void da9052_ts_pen_work(struct work_struct *work) | |||
143 | } | 143 | } |
144 | } | 144 | } |
145 | 145 | ||
146 | static int __devinit da9052_ts_configure_gpio(struct da9052 *da9052) | 146 | static int da9052_ts_configure_gpio(struct da9052 *da9052) |
147 | { | 147 | { |
148 | int error; | 148 | int error; |
149 | 149 | ||
@@ -162,7 +162,7 @@ static int __devinit da9052_ts_configure_gpio(struct da9052 *da9052) | |||
162 | return 0; | 162 | return 0; |
163 | } | 163 | } |
164 | 164 | ||
165 | static int __devinit da9052_configure_tsi(struct da9052_tsi *tsi) | 165 | static int da9052_configure_tsi(struct da9052_tsi *tsi) |
166 | { | 166 | { |
167 | int error; | 167 | int error; |
168 | 168 | ||
@@ -229,7 +229,7 @@ static void da9052_ts_input_close(struct input_dev *input_dev) | |||
229 | da9052_reg_update(tsi->da9052, DA9052_TSI_CONT_A_REG, 1 << 1, 0); | 229 | da9052_reg_update(tsi->da9052, DA9052_TSI_CONT_A_REG, 1 << 1, 0); |
230 | } | 230 | } |
231 | 231 | ||
232 | static int __devinit da9052_ts_probe(struct platform_device *pdev) | 232 | static int da9052_ts_probe(struct platform_device *pdev) |
233 | { | 233 | { |
234 | struct da9052 *da9052; | 234 | struct da9052 *da9052; |
235 | struct da9052_tsi *tsi; | 235 | struct da9052_tsi *tsi; |
diff --git a/drivers/input/touchscreen/edt-ft5x06.c b/drivers/input/touchscreen/edt-ft5x06.c index 65ed9d958e5f..677e78804b79 100644 --- a/drivers/input/touchscreen/edt-ft5x06.c +++ b/drivers/input/touchscreen/edt-ft5x06.c | |||
@@ -575,7 +575,7 @@ static const struct file_operations debugfs_raw_data_fops = { | |||
575 | .read = edt_ft5x06_debugfs_raw_data_read, | 575 | .read = edt_ft5x06_debugfs_raw_data_read, |
576 | }; | 576 | }; |
577 | 577 | ||
578 | static void __devinit | 578 | static void |
579 | edt_ft5x06_ts_prepare_debugfs(struct edt_ft5x06_ts_data *tsdata, | 579 | edt_ft5x06_ts_prepare_debugfs(struct edt_ft5x06_ts_data *tsdata, |
580 | const char *debugfs_name) | 580 | const char *debugfs_name) |
581 | { | 581 | { |
@@ -617,7 +617,7 @@ edt_ft5x06_ts_teardown_debugfs(struct edt_ft5x06_ts_data *tsdata) | |||
617 | 617 | ||
618 | 618 | ||
619 | 619 | ||
620 | static int __devinit edt_ft5x06_ts_reset(struct i2c_client *client, | 620 | static int edt_ft5x06_ts_reset(struct i2c_client *client, |
621 | int reset_pin) | 621 | int reset_pin) |
622 | { | 622 | { |
623 | int error; | 623 | int error; |
@@ -641,7 +641,7 @@ static int __devinit edt_ft5x06_ts_reset(struct i2c_client *client, | |||
641 | return 0; | 641 | return 0; |
642 | } | 642 | } |
643 | 643 | ||
644 | static int __devinit edt_ft5x06_ts_identify(struct i2c_client *client, | 644 | static int edt_ft5x06_ts_identify(struct i2c_client *client, |
645 | char *model_name, | 645 | char *model_name, |
646 | char *fw_version) | 646 | char *fw_version) |
647 | { | 647 | { |
@@ -675,7 +675,7 @@ static int __devinit edt_ft5x06_ts_identify(struct i2c_client *client, | |||
675 | pdata->name <= edt_ft5x06_attr_##name.limit_high) \ | 675 | pdata->name <= edt_ft5x06_attr_##name.limit_high) \ |
676 | edt_ft5x06_register_write(tsdata, reg, pdata->name) | 676 | edt_ft5x06_register_write(tsdata, reg, pdata->name) |
677 | 677 | ||
678 | static void __devinit | 678 | static void |
679 | edt_ft5x06_ts_get_defaults(struct edt_ft5x06_ts_data *tsdata, | 679 | edt_ft5x06_ts_get_defaults(struct edt_ft5x06_ts_data *tsdata, |
680 | const struct edt_ft5x06_platform_data *pdata) | 680 | const struct edt_ft5x06_platform_data *pdata) |
681 | { | 681 | { |
@@ -689,7 +689,7 @@ edt_ft5x06_ts_get_defaults(struct edt_ft5x06_ts_data *tsdata, | |||
689 | EDT_ATTR_CHECKSET(report_rate, WORK_REGISTER_REPORT_RATE); | 689 | EDT_ATTR_CHECKSET(report_rate, WORK_REGISTER_REPORT_RATE); |
690 | } | 690 | } |
691 | 691 | ||
692 | static void __devinit | 692 | static void |
693 | edt_ft5x06_ts_get_parameters(struct edt_ft5x06_ts_data *tsdata) | 693 | edt_ft5x06_ts_get_parameters(struct edt_ft5x06_ts_data *tsdata) |
694 | { | 694 | { |
695 | tsdata->threshold = edt_ft5x06_register_read(tsdata, | 695 | tsdata->threshold = edt_ft5x06_register_read(tsdata, |
@@ -702,7 +702,7 @@ edt_ft5x06_ts_get_parameters(struct edt_ft5x06_ts_data *tsdata) | |||
702 | tsdata->num_y = edt_ft5x06_register_read(tsdata, WORK_REGISTER_NUM_Y); | 702 | tsdata->num_y = edt_ft5x06_register_read(tsdata, WORK_REGISTER_NUM_Y); |
703 | } | 703 | } |
704 | 704 | ||
705 | static int __devinit edt_ft5x06_ts_probe(struct i2c_client *client, | 705 | static int edt_ft5x06_ts_probe(struct i2c_client *client, |
706 | const struct i2c_device_id *id) | 706 | const struct i2c_device_id *id) |
707 | { | 707 | { |
708 | const struct edt_ft5x06_platform_data *pdata = | 708 | const struct edt_ft5x06_platform_data *pdata = |
diff --git a/drivers/input/touchscreen/eeti_ts.c b/drivers/input/touchscreen/eeti_ts.c index a2d9a65e586d..a65709959fa0 100644 --- a/drivers/input/touchscreen/eeti_ts.c +++ b/drivers/input/touchscreen/eeti_ts.c | |||
@@ -154,7 +154,7 @@ static void eeti_ts_close(struct input_dev *dev) | |||
154 | eeti_ts_stop(priv); | 154 | eeti_ts_stop(priv); |
155 | } | 155 | } |
156 | 156 | ||
157 | static int __devinit eeti_ts_probe(struct i2c_client *client, | 157 | static int eeti_ts_probe(struct i2c_client *client, |
158 | const struct i2c_device_id *idp) | 158 | const struct i2c_device_id *idp) |
159 | { | 159 | { |
160 | struct eeti_ts_platform_data *pdata = client->dev.platform_data; | 160 | struct eeti_ts_platform_data *pdata = client->dev.platform_data; |
diff --git a/drivers/input/touchscreen/egalax_ts.c b/drivers/input/touchscreen/egalax_ts.c index d85078d06497..f5e09ca1ffed 100644 --- a/drivers/input/touchscreen/egalax_ts.c +++ b/drivers/input/touchscreen/egalax_ts.c | |||
@@ -153,7 +153,7 @@ static int egalax_wake_up_device(struct i2c_client *client) | |||
153 | return 0; | 153 | return 0; |
154 | } | 154 | } |
155 | 155 | ||
156 | static int __devinit egalax_firmware_version(struct i2c_client *client) | 156 | static int egalax_firmware_version(struct i2c_client *client) |
157 | { | 157 | { |
158 | static const u8 cmd[MAX_I2C_DATA_LEN] = { 0x03, 0x03, 0xa, 0x01, 0x41 }; | 158 | static const u8 cmd[MAX_I2C_DATA_LEN] = { 0x03, 0x03, 0xa, 0x01, 0x41 }; |
159 | int ret; | 159 | int ret; |
@@ -165,7 +165,7 @@ static int __devinit egalax_firmware_version(struct i2c_client *client) | |||
165 | return 0; | 165 | return 0; |
166 | } | 166 | } |
167 | 167 | ||
168 | static int __devinit egalax_ts_probe(struct i2c_client *client, | 168 | static int egalax_ts_probe(struct i2c_client *client, |
169 | const struct i2c_device_id *id) | 169 | const struct i2c_device_id *id) |
170 | { | 170 | { |
171 | struct egalax_ts *ts; | 171 | struct egalax_ts *ts; |
diff --git a/drivers/input/touchscreen/htcpen.c b/drivers/input/touchscreen/htcpen.c index 5cc3240139ec..32a451c89d53 100644 --- a/drivers/input/touchscreen/htcpen.c +++ b/drivers/input/touchscreen/htcpen.c | |||
@@ -102,7 +102,7 @@ static void htcpen_close(struct input_dev *dev) | |||
102 | synchronize_irq(HTCPEN_IRQ); | 102 | synchronize_irq(HTCPEN_IRQ); |
103 | } | 103 | } |
104 | 104 | ||
105 | static int __devinit htcpen_isa_probe(struct device *dev, unsigned int id) | 105 | static int htcpen_isa_probe(struct device *dev, unsigned int id) |
106 | { | 106 | { |
107 | struct input_dev *htcpen_dev; | 107 | struct input_dev *htcpen_dev; |
108 | int err = -EBUSY; | 108 | int err = -EBUSY; |
diff --git a/drivers/input/touchscreen/ili210x.c b/drivers/input/touchscreen/ili210x.c index e8fd6c26b76c..7e6221c9ea7d 100644 --- a/drivers/input/touchscreen/ili210x.c +++ b/drivers/input/touchscreen/ili210x.c | |||
@@ -180,7 +180,7 @@ static const struct attribute_group ili210x_attr_group = { | |||
180 | .attrs = ili210x_attributes, | 180 | .attrs = ili210x_attributes, |
181 | }; | 181 | }; |
182 | 182 | ||
183 | static int __devinit ili210x_i2c_probe(struct i2c_client *client, | 183 | static int ili210x_i2c_probe(struct i2c_client *client, |
184 | const struct i2c_device_id *id) | 184 | const struct i2c_device_id *id) |
185 | { | 185 | { |
186 | struct device *dev = &client->dev; | 186 | struct device *dev = &client->dev; |
diff --git a/drivers/input/touchscreen/intel-mid-touch.c b/drivers/input/touchscreen/intel-mid-touch.c index f27364f7ad11..e413f3344edd 100644 --- a/drivers/input/touchscreen/intel-mid-touch.c +++ b/drivers/input/touchscreen/intel-mid-touch.c | |||
@@ -427,7 +427,7 @@ out: | |||
427 | } | 427 | } |
428 | 428 | ||
429 | /* Utility to read PMIC ID */ | 429 | /* Utility to read PMIC ID */ |
430 | static int __devinit mrstouch_read_pmic_id(uint *vendor, uint *rev) | 430 | static int mrstouch_read_pmic_id(uint *vendor, uint *rev) |
431 | { | 431 | { |
432 | int err; | 432 | int err; |
433 | u8 r; | 433 | u8 r; |
@@ -446,7 +446,7 @@ static int __devinit mrstouch_read_pmic_id(uint *vendor, uint *rev) | |||
446 | * Parse ADC channels to find end of the channel configured by other ADC user | 446 | * Parse ADC channels to find end of the channel configured by other ADC user |
447 | * NEC and MAXIM requires 4 channels and FreeScale needs 18 channels | 447 | * NEC and MAXIM requires 4 channels and FreeScale needs 18 channels |
448 | */ | 448 | */ |
449 | static int __devinit mrstouch_chan_parse(struct mrstouch_dev *tsdev) | 449 | static int mrstouch_chan_parse(struct mrstouch_dev *tsdev) |
450 | { | 450 | { |
451 | int found = 0; | 451 | int found = 0; |
452 | int err, i; | 452 | int err, i; |
@@ -478,7 +478,7 @@ static int __devinit mrstouch_chan_parse(struct mrstouch_dev *tsdev) | |||
478 | /* | 478 | /* |
479 | * Writes touch screen channels to ADC address selection registers | 479 | * Writes touch screen channels to ADC address selection registers |
480 | */ | 480 | */ |
481 | static int __devinit mrstouch_ts_chan_set(uint offset) | 481 | static int mrstouch_ts_chan_set(uint offset) |
482 | { | 482 | { |
483 | u16 chan; | 483 | u16 chan; |
484 | 484 | ||
@@ -494,7 +494,7 @@ static int __devinit mrstouch_ts_chan_set(uint offset) | |||
494 | } | 494 | } |
495 | 495 | ||
496 | /* Initialize ADC */ | 496 | /* Initialize ADC */ |
497 | static int __devinit mrstouch_adc_init(struct mrstouch_dev *tsdev) | 497 | static int mrstouch_adc_init(struct mrstouch_dev *tsdev) |
498 | { | 498 | { |
499 | int err, start; | 499 | int err, start; |
500 | u8 ra, rm; | 500 | u8 ra, rm; |
@@ -568,7 +568,7 @@ static int __devinit mrstouch_adc_init(struct mrstouch_dev *tsdev) | |||
568 | 568 | ||
569 | 569 | ||
570 | /* Probe function for touch screen driver */ | 570 | /* Probe function for touch screen driver */ |
571 | static int __devinit mrstouch_probe(struct platform_device *pdev) | 571 | static int mrstouch_probe(struct platform_device *pdev) |
572 | { | 572 | { |
573 | struct mrstouch_dev *tsdev; | 573 | struct mrstouch_dev *tsdev; |
574 | struct input_dev *input; | 574 | struct input_dev *input; |
diff --git a/drivers/input/touchscreen/jornada720_ts.c b/drivers/input/touchscreen/jornada720_ts.c index ad35c8ceac26..7ef90def6b0b 100644 --- a/drivers/input/touchscreen/jornada720_ts.c +++ b/drivers/input/touchscreen/jornada720_ts.c | |||
@@ -99,7 +99,7 @@ static irqreturn_t jornada720_ts_interrupt(int irq, void *dev_id) | |||
99 | return IRQ_HANDLED; | 99 | return IRQ_HANDLED; |
100 | } | 100 | } |
101 | 101 | ||
102 | static int __devinit jornada720_ts_probe(struct platform_device *pdev) | 102 | static int jornada720_ts_probe(struct platform_device *pdev) |
103 | { | 103 | { |
104 | struct jornada_ts *jornada_ts; | 104 | struct jornada_ts *jornada_ts; |
105 | struct input_dev *input_dev; | 105 | struct input_dev *input_dev; |
diff --git a/drivers/input/touchscreen/lpc32xx_ts.c b/drivers/input/touchscreen/lpc32xx_ts.c index 8134f6100de0..39d50b7d470a 100644 --- a/drivers/input/touchscreen/lpc32xx_ts.c +++ b/drivers/input/touchscreen/lpc32xx_ts.c | |||
@@ -203,7 +203,7 @@ static void lpc32xx_ts_close(struct input_dev *dev) | |||
203 | lpc32xx_stop_tsc(tsc); | 203 | lpc32xx_stop_tsc(tsc); |
204 | } | 204 | } |
205 | 205 | ||
206 | static int __devinit lpc32xx_ts_probe(struct platform_device *pdev) | 206 | static int lpc32xx_ts_probe(struct platform_device *pdev) |
207 | { | 207 | { |
208 | struct lpc32xx_tsc *tsc; | 208 | struct lpc32xx_tsc *tsc; |
209 | struct input_dev *input; | 209 | struct input_dev *input; |
diff --git a/drivers/input/touchscreen/max11801_ts.c b/drivers/input/touchscreen/max11801_ts.c index e3e637f01609..ac06db6a7b05 100644 --- a/drivers/input/touchscreen/max11801_ts.c +++ b/drivers/input/touchscreen/max11801_ts.c | |||
@@ -156,7 +156,7 @@ out: | |||
156 | return IRQ_HANDLED; | 156 | return IRQ_HANDLED; |
157 | } | 157 | } |
158 | 158 | ||
159 | static void __devinit max11801_ts_phy_init(struct max11801_data *data) | 159 | static void max11801_ts_phy_init(struct max11801_data *data) |
160 | { | 160 | { |
161 | struct i2c_client *client = data->client; | 161 | struct i2c_client *client = data->client; |
162 | 162 | ||
@@ -174,7 +174,7 @@ static void __devinit max11801_ts_phy_init(struct max11801_data *data) | |||
174 | max11801_write_reg(client, OP_MODE_CONF_REG, 0x36); | 174 | max11801_write_reg(client, OP_MODE_CONF_REG, 0x36); |
175 | } | 175 | } |
176 | 176 | ||
177 | static int __devinit max11801_ts_probe(struct i2c_client *client, | 177 | static int max11801_ts_probe(struct i2c_client *client, |
178 | const struct i2c_device_id *id) | 178 | const struct i2c_device_id *id) |
179 | { | 179 | { |
180 | struct max11801_data *data; | 180 | struct max11801_data *data; |
diff --git a/drivers/input/touchscreen/mcs5000_ts.c b/drivers/input/touchscreen/mcs5000_ts.c index 94a4ff6de3f9..c9da87bd2570 100644 --- a/drivers/input/touchscreen/mcs5000_ts.c +++ b/drivers/input/touchscreen/mcs5000_ts.c | |||
@@ -187,7 +187,7 @@ static void mcs5000_ts_phys_init(struct mcs5000_ts_data *data) | |||
187 | OP_MODE_ACTIVE | REPORT_RATE_80); | 187 | OP_MODE_ACTIVE | REPORT_RATE_80); |
188 | } | 188 | } |
189 | 189 | ||
190 | static int __devinit mcs5000_ts_probe(struct i2c_client *client, | 190 | static int mcs5000_ts_probe(struct i2c_client *client, |
191 | const struct i2c_device_id *id) | 191 | const struct i2c_device_id *id) |
192 | { | 192 | { |
193 | struct mcs5000_ts_data *data; | 193 | struct mcs5000_ts_data *data; |
diff --git a/drivers/input/touchscreen/mms114.c b/drivers/input/touchscreen/mms114.c index 0334898f9205..633737e14e47 100644 --- a/drivers/input/touchscreen/mms114.c +++ b/drivers/input/touchscreen/mms114.c | |||
@@ -362,7 +362,7 @@ static void mms114_input_close(struct input_dev *dev) | |||
362 | } | 362 | } |
363 | 363 | ||
364 | #ifdef CONFIG_OF | 364 | #ifdef CONFIG_OF |
365 | static struct mms114_platform_data * __devinit mms114_parse_dt(struct device *dev) | 365 | static struct mms114_platform_data *mms114_parse_dt(struct device *dev) |
366 | { | 366 | { |
367 | struct mms114_platform_data *pdata; | 367 | struct mms114_platform_data *pdata; |
368 | struct device_node *np = dev->of_node; | 368 | struct device_node *np = dev->of_node; |
@@ -405,7 +405,7 @@ static inline struct mms114_platform_data *mms114_parse_dt(struct device *dev) | |||
405 | } | 405 | } |
406 | #endif | 406 | #endif |
407 | 407 | ||
408 | static int __devinit mms114_probe(struct i2c_client *client, | 408 | static int mms114_probe(struct i2c_client *client, |
409 | const struct i2c_device_id *id) | 409 | const struct i2c_device_id *id) |
410 | { | 410 | { |
411 | const struct mms114_platform_data *pdata; | 411 | const struct mms114_platform_data *pdata; |
diff --git a/drivers/input/touchscreen/pcap_ts.c b/drivers/input/touchscreen/pcap_ts.c index 97f07baa6e8f..900dc78be08d 100644 --- a/drivers/input/touchscreen/pcap_ts.c +++ b/drivers/input/touchscreen/pcap_ts.c | |||
@@ -137,7 +137,7 @@ static void pcap_ts_close(struct input_dev *dev) | |||
137 | pcap_ts->read_state << PCAP_ADC_TS_M_SHIFT); | 137 | pcap_ts->read_state << PCAP_ADC_TS_M_SHIFT); |
138 | } | 138 | } |
139 | 139 | ||
140 | static int __devinit pcap_ts_probe(struct platform_device *pdev) | 140 | static int pcap_ts_probe(struct platform_device *pdev) |
141 | { | 141 | { |
142 | struct input_dev *input_dev; | 142 | struct input_dev *input_dev; |
143 | struct pcap_ts *pcap_ts; | 143 | struct pcap_ts *pcap_ts; |
diff --git a/drivers/input/touchscreen/pixcir_i2c_ts.c b/drivers/input/touchscreen/pixcir_i2c_ts.c index 4fcb63e4337b..cffea4c368ad 100644 --- a/drivers/input/touchscreen/pixcir_i2c_ts.c +++ b/drivers/input/touchscreen/pixcir_i2c_ts.c | |||
@@ -125,7 +125,7 @@ static int pixcir_i2c_ts_resume(struct device *dev) | |||
125 | static SIMPLE_DEV_PM_OPS(pixcir_dev_pm_ops, | 125 | static SIMPLE_DEV_PM_OPS(pixcir_dev_pm_ops, |
126 | pixcir_i2c_ts_suspend, pixcir_i2c_ts_resume); | 126 | pixcir_i2c_ts_suspend, pixcir_i2c_ts_resume); |
127 | 127 | ||
128 | static int __devinit pixcir_i2c_ts_probe(struct i2c_client *client, | 128 | static int pixcir_i2c_ts_probe(struct i2c_client *client, |
129 | const struct i2c_device_id *id) | 129 | const struct i2c_device_id *id) |
130 | { | 130 | { |
131 | const struct pixcir_ts_platform_data *pdata = client->dev.platform_data; | 131 | const struct pixcir_ts_platform_data *pdata = client->dev.platform_data; |
diff --git a/drivers/input/touchscreen/s3c2410_ts.c b/drivers/input/touchscreen/s3c2410_ts.c index 4dda7656e077..8f2f22b612a0 100644 --- a/drivers/input/touchscreen/s3c2410_ts.c +++ b/drivers/input/touchscreen/s3c2410_ts.c | |||
@@ -238,7 +238,7 @@ static void s3c24xx_ts_select(struct s3c_adc_client *client, unsigned select) | |||
238 | * Initialise, find and allocate any resources we need to run and then | 238 | * Initialise, find and allocate any resources we need to run and then |
239 | * register with the ADC and input systems. | 239 | * register with the ADC and input systems. |
240 | */ | 240 | */ |
241 | static int __devinit s3c2410ts_probe(struct platform_device *pdev) | 241 | static int s3c2410ts_probe(struct platform_device *pdev) |
242 | { | 242 | { |
243 | struct s3c2410_ts_mach_info *info; | 243 | struct s3c2410_ts_mach_info *info; |
244 | struct device *dev = &pdev->dev; | 244 | struct device *dev = &pdev->dev; |
diff --git a/drivers/input/touchscreen/st1232.c b/drivers/input/touchscreen/st1232.c index 5fa0ca346478..2a71dfde301c 100644 --- a/drivers/input/touchscreen/st1232.c +++ b/drivers/input/touchscreen/st1232.c | |||
@@ -139,7 +139,7 @@ end: | |||
139 | return IRQ_HANDLED; | 139 | return IRQ_HANDLED; |
140 | } | 140 | } |
141 | 141 | ||
142 | static int __devinit st1232_ts_probe(struct i2c_client *client, | 142 | static int st1232_ts_probe(struct i2c_client *client, |
143 | const struct i2c_device_id *id) | 143 | const struct i2c_device_id *id) |
144 | { | 144 | { |
145 | struct st1232_ts_data *ts; | 145 | struct st1232_ts_data *ts; |
diff --git a/drivers/input/touchscreen/stmpe-ts.c b/drivers/input/touchscreen/stmpe-ts.c index f4897545ec6c..011b686798dc 100644 --- a/drivers/input/touchscreen/stmpe-ts.c +++ b/drivers/input/touchscreen/stmpe-ts.c | |||
@@ -168,7 +168,7 @@ static irqreturn_t stmpe_ts_handler(int irq, void *data) | |||
168 | return IRQ_HANDLED; | 168 | return IRQ_HANDLED; |
169 | } | 169 | } |
170 | 170 | ||
171 | static int __devinit stmpe_init_hw(struct stmpe_touch *ts) | 171 | static int stmpe_init_hw(struct stmpe_touch *ts) |
172 | { | 172 | { |
173 | int ret; | 173 | int ret; |
174 | u8 adc_ctrl1, adc_ctrl1_mask, tsc_cfg, tsc_cfg_mask; | 174 | u8 adc_ctrl1, adc_ctrl1_mask, tsc_cfg, tsc_cfg_mask; |
@@ -308,7 +308,7 @@ static void stmpe_ts_get_platform_info(struct platform_device *pdev, | |||
308 | } | 308 | } |
309 | } | 309 | } |
310 | 310 | ||
311 | static int __devinit stmpe_input_probe(struct platform_device *pdev) | 311 | static int stmpe_input_probe(struct platform_device *pdev) |
312 | { | 312 | { |
313 | struct stmpe_touch *ts; | 313 | struct stmpe_touch *ts; |
314 | struct input_dev *idev; | 314 | struct input_dev *idev; |
diff --git a/drivers/input/touchscreen/ti_tscadc.c b/drivers/input/touchscreen/ti_tscadc.c index d229c741d544..bcedf2e7468c 100644 --- a/drivers/input/touchscreen/ti_tscadc.c +++ b/drivers/input/touchscreen/ti_tscadc.c | |||
@@ -303,7 +303,7 @@ static irqreturn_t tscadc_irq(int irq, void *dev) | |||
303 | * The functions for inserting/removing driver as a module. | 303 | * The functions for inserting/removing driver as a module. |
304 | */ | 304 | */ |
305 | 305 | ||
306 | static int __devinit tscadc_probe(struct platform_device *pdev) | 306 | static int tscadc_probe(struct platform_device *pdev) |
307 | { | 307 | { |
308 | const struct tsc_data *pdata = pdev->dev.platform_data; | 308 | const struct tsc_data *pdata = pdev->dev.platform_data; |
309 | struct resource *res; | 309 | struct resource *res; |
diff --git a/drivers/input/touchscreen/tnetv107x-ts.c b/drivers/input/touchscreen/tnetv107x-ts.c index 62d57e8d49fe..63f75ebb3281 100644 --- a/drivers/input/touchscreen/tnetv107x-ts.c +++ b/drivers/input/touchscreen/tnetv107x-ts.c | |||
@@ -243,7 +243,7 @@ static void tsc_stop(struct input_dev *dev) | |||
243 | clk_disable(ts->clk); | 243 | clk_disable(ts->clk); |
244 | } | 244 | } |
245 | 245 | ||
246 | static int __devinit tsc_probe(struct platform_device *pdev) | 246 | static int tsc_probe(struct platform_device *pdev) |
247 | { | 247 | { |
248 | struct device *dev = &pdev->dev; | 248 | struct device *dev = &pdev->dev; |
249 | struct tsc_data *ts; | 249 | struct tsc_data *ts; |
diff --git a/drivers/input/touchscreen/tsc2005.c b/drivers/input/touchscreen/tsc2005.c index db472a80bcb2..20889305d46c 100644 --- a/drivers/input/touchscreen/tsc2005.c +++ b/drivers/input/touchscreen/tsc2005.c | |||
@@ -555,7 +555,7 @@ static void tsc2005_close(struct input_dev *input) | |||
555 | mutex_unlock(&ts->mutex); | 555 | mutex_unlock(&ts->mutex); |
556 | } | 556 | } |
557 | 557 | ||
558 | static void __devinit tsc2005_setup_spi_xfer(struct tsc2005 *ts) | 558 | static void tsc2005_setup_spi_xfer(struct tsc2005 *ts) |
559 | { | 559 | { |
560 | tsc2005_setup_read(&ts->spi_x, TSC2005_REG_X, false); | 560 | tsc2005_setup_read(&ts->spi_x, TSC2005_REG_X, false); |
561 | tsc2005_setup_read(&ts->spi_y, TSC2005_REG_Y, false); | 561 | tsc2005_setup_read(&ts->spi_y, TSC2005_REG_Y, false); |
@@ -569,7 +569,7 @@ static void __devinit tsc2005_setup_spi_xfer(struct tsc2005 *ts) | |||
569 | spi_message_add_tail(&ts->spi_z2.spi_xfer, &ts->spi_read_msg); | 569 | spi_message_add_tail(&ts->spi_z2.spi_xfer, &ts->spi_read_msg); |
570 | } | 570 | } |
571 | 571 | ||
572 | static int __devinit tsc2005_probe(struct spi_device *spi) | 572 | static int tsc2005_probe(struct spi_device *spi) |
573 | { | 573 | { |
574 | const struct tsc2005_platform_data *pdata = spi->dev.platform_data; | 574 | const struct tsc2005_platform_data *pdata = spi->dev.platform_data; |
575 | struct tsc2005 *ts; | 575 | struct tsc2005 *ts; |
diff --git a/drivers/input/touchscreen/tsc2007.c b/drivers/input/touchscreen/tsc2007.c index 3b195835cb03..47b41eb0e38f 100644 --- a/drivers/input/touchscreen/tsc2007.c +++ b/drivers/input/touchscreen/tsc2007.c | |||
@@ -273,7 +273,7 @@ static void tsc2007_close(struct input_dev *input_dev) | |||
273 | tsc2007_stop(ts); | 273 | tsc2007_stop(ts); |
274 | } | 274 | } |
275 | 275 | ||
276 | static int __devinit tsc2007_probe(struct i2c_client *client, | 276 | static int tsc2007_probe(struct i2c_client *client, |
277 | const struct i2c_device_id *id) | 277 | const struct i2c_device_id *id) |
278 | { | 278 | { |
279 | struct tsc2007 *ts; | 279 | struct tsc2007 *ts; |
diff --git a/drivers/input/touchscreen/ucb1400_ts.c b/drivers/input/touchscreen/ucb1400_ts.c index 780eda612547..518363d01c2f 100644 --- a/drivers/input/touchscreen/ucb1400_ts.c +++ b/drivers/input/touchscreen/ucb1400_ts.c | |||
@@ -274,7 +274,7 @@ static void ucb1400_ts_close(struct input_dev *idev) | |||
274 | * Try to probe our interrupt, rather than relying on lots of | 274 | * Try to probe our interrupt, rather than relying on lots of |
275 | * hard-coded machine dependencies. | 275 | * hard-coded machine dependencies. |
276 | */ | 276 | */ |
277 | static int __devinit ucb1400_ts_detect_irq(struct ucb1400_ts *ucb, | 277 | static int ucb1400_ts_detect_irq(struct ucb1400_ts *ucb, |
278 | struct platform_device *pdev) | 278 | struct platform_device *pdev) |
279 | { | 279 | { |
280 | unsigned long mask, timeout; | 280 | unsigned long mask, timeout; |
@@ -318,7 +318,7 @@ static int __devinit ucb1400_ts_detect_irq(struct ucb1400_ts *ucb, | |||
318 | return 0; | 318 | return 0; |
319 | } | 319 | } |
320 | 320 | ||
321 | static int __devinit ucb1400_ts_probe(struct platform_device *pdev) | 321 | static int ucb1400_ts_probe(struct platform_device *pdev) |
322 | { | 322 | { |
323 | struct ucb1400_ts *ucb = pdev->dev.platform_data; | 323 | struct ucb1400_ts *ucb = pdev->dev.platform_data; |
324 | int error, x_res, y_res; | 324 | int error, x_res, y_res; |
diff --git a/drivers/input/touchscreen/w90p910_ts.c b/drivers/input/touchscreen/w90p910_ts.c index 039e4eadb6ac..f0378a9dc93e 100644 --- a/drivers/input/touchscreen/w90p910_ts.c +++ b/drivers/input/touchscreen/w90p910_ts.c | |||
@@ -215,7 +215,7 @@ static void w90p910_close(struct input_dev *dev) | |||
215 | clk_disable(w90p910_ts->clk); | 215 | clk_disable(w90p910_ts->clk); |
216 | } | 216 | } |
217 | 217 | ||
218 | static int __devinit w90x900ts_probe(struct platform_device *pdev) | 218 | static int w90x900ts_probe(struct platform_device *pdev) |
219 | { | 219 | { |
220 | struct w90p910_ts *w90p910_ts; | 220 | struct w90p910_ts *w90p910_ts; |
221 | struct input_dev *input_dev; | 221 | struct input_dev *input_dev; |
diff --git a/drivers/input/touchscreen/wacom_i2c.c b/drivers/input/touchscreen/wacom_i2c.c index 0c033dfbd73e..bb02ccd51008 100644 --- a/drivers/input/touchscreen/wacom_i2c.c +++ b/drivers/input/touchscreen/wacom_i2c.c | |||
@@ -144,7 +144,7 @@ static void wacom_i2c_close(struct input_dev *dev) | |||
144 | disable_irq(client->irq); | 144 | disable_irq(client->irq); |
145 | } | 145 | } |
146 | 146 | ||
147 | static int __devinit wacom_i2c_probe(struct i2c_client *client, | 147 | static int wacom_i2c_probe(struct i2c_client *client, |
148 | const struct i2c_device_id *id) | 148 | const struct i2c_device_id *id) |
149 | { | 149 | { |
150 | struct wacom_i2c *wac_i2c; | 150 | struct wacom_i2c *wac_i2c; |
diff --git a/drivers/input/touchscreen/wm831x-ts.c b/drivers/input/touchscreen/wm831x-ts.c index 17f14b69438a..28d81256ec69 100644 --- a/drivers/input/touchscreen/wm831x-ts.c +++ b/drivers/input/touchscreen/wm831x-ts.c | |||
@@ -233,7 +233,7 @@ static void wm831x_ts_input_close(struct input_dev *idev) | |||
233 | } | 233 | } |
234 | } | 234 | } |
235 | 235 | ||
236 | static __devinit int wm831x_ts_probe(struct platform_device *pdev) | 236 | static int wm831x_ts_probe(struct platform_device *pdev) |
237 | { | 237 | { |
238 | struct wm831x_ts *wm831x_ts; | 238 | struct wm831x_ts *wm831x_ts; |
239 | struct wm831x *wm831x = dev_get_drvdata(pdev->dev.parent); | 239 | struct wm831x *wm831x = dev_get_drvdata(pdev->dev.parent); |