aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/input/misc
diff options
context:
space:
mode:
authorBill Pemberton <wfp5p@virginia.edu>2012-11-24 00:38:25 -0500
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2012-11-24 03:05:19 -0500
commit5298cc4cc753bbe4c530b41341834f6ef3344d0d (patch)
tree5dde0337622144b635a7dc199844ed5376794b09 /drivers/input/misc
parent78f50c246f4286d40a1f42fecc779d47e40503a2 (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/misc')
-rw-r--r--drivers/input/misc/88pm80x_onkey.c2
-rw-r--r--drivers/input/misc/88pm860x_onkey.c2
-rw-r--r--drivers/input/misc/ab8500-ponkey.c2
-rw-r--r--drivers/input/misc/ad714x-i2c.c2
-rw-r--r--drivers/input/misc/ad714x-spi.c2
-rw-r--r--drivers/input/misc/adxl34x-i2c.c2
-rw-r--r--drivers/input/misc/adxl34x-spi.c2
-rw-r--r--drivers/input/misc/bfin_rotary.c2
-rw-r--r--drivers/input/misc/bma150.c22
-rw-r--r--drivers/input/misc/cma3000_d0x_i2c.c2
-rw-r--r--drivers/input/misc/cobalt_btns.c2
-rw-r--r--drivers/input/misc/da9052_onkey.c2
-rw-r--r--drivers/input/misc/da9055_onkey.c2
-rw-r--r--drivers/input/misc/dm355evm_keys.c2
-rw-r--r--drivers/input/misc/gp2ap002a00f.c4
-rw-r--r--drivers/input/misc/gpio_tilt_polled.c2
-rw-r--r--drivers/input/misc/ixp4xx-beeper.c2
-rw-r--r--drivers/input/misc/kxtj9.c10
-rw-r--r--drivers/input/misc/m68kspkr.c2
-rw-r--r--drivers/input/misc/max8925_onkey.c2
-rw-r--r--drivers/input/misc/max8997_haptic.c2
-rw-r--r--drivers/input/misc/mc13783-pwrbutton.c2
-rw-r--r--drivers/input/misc/mma8450.c2
-rw-r--r--drivers/input/misc/mpu3050.c4
-rw-r--r--drivers/input/misc/pcap_keys.c2
-rw-r--r--drivers/input/misc/pcf50633-input.c2
-rw-r--r--drivers/input/misc/pcf8574_keypad.c2
-rw-r--r--drivers/input/misc/pcspkr.c2
-rw-r--r--drivers/input/misc/pm8xxx-vibrator.c2
-rw-r--r--drivers/input/misc/pmic8xxx-pwrkey.c2
-rw-r--r--drivers/input/misc/pwm-beeper.c2
-rw-r--r--drivers/input/misc/rb532_button.c2
-rw-r--r--drivers/input/misc/retu-pwrbutton.c2
-rw-r--r--drivers/input/misc/rotary_encoder.c5
-rw-r--r--drivers/input/misc/sgi_btns.c2
-rw-r--r--drivers/input/misc/sparcspkr.c6
-rw-r--r--drivers/input/misc/twl4030-vibra.c2
-rw-r--r--drivers/input/misc/twl6040-vibra.c2
-rw-r--r--drivers/input/misc/wistron_btns.c14
-rw-r--r--drivers/input/misc/wm831x-on.c2
-rw-r--r--drivers/input/misc/xen-kbdfront.c2
41 files changed, 66 insertions, 67 deletions
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)
62static SIMPLE_DEV_PM_OPS(pm80x_onkey_pm_ops, pm80x_dev_suspend, 62static SIMPLE_DEV_PM_OPS(pm80x_onkey_pm_ops, pm80x_dev_suspend,
63 pm80x_dev_resume); 63 pm80x_dev_resume);
64 64
65static int __devinit pm80x_onkey_probe(struct platform_device *pdev) 65static 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
59static int __devinit pm860x_onkey_probe(struct platform_device *pdev) 59static 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
48static int __devinit ab8500_ponkey_probe(struct platform_device *pdev) 48static 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
75static int __devinit ad714x_i2c_probe(struct i2c_client *client, 75static 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
86static int __devinit ad714x_spi_probe(struct spi_device *spi) 86static 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
76static int __devinit adxl34x_i2c_probe(struct i2c_client *client, 76static 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
68static int __devinit adxl34x_spi_probe(struct spi_device *spi) 68static 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
93static int __devinit bfin_rotary_probe(struct platform_device *pdev) 93static 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
227static int __devinit bma150_soft_reset(struct bma150_data *bma150) 227static 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
240static int __devinit bma150_set_range(struct bma150_data *bma150, u8 range) 240static 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
246static int __devinit bma150_set_bandwidth(struct bma150_data *bma150, u8 bw) 246static 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
252static int __devinit bma150_set_low_g_interrupt(struct bma150_data *bma150, 252static 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
276static int __devinit bma150_set_high_g_interrupt(struct bma150_data *bma150, 276static 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
303static int __devinit bma150_set_any_motion_interrupt(struct bma150_data *bma150, 303static 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
427static int __devinit bma150_initialize(struct bma150_data *bma150, 427static 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
468static void __devinit bma150_init_input_device(struct bma150_data *bma150, 468static 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
482static int __devinit bma150_register_input_device(struct bma150_data *bma150) 482static 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
507static int __devinit bma150_register_polled_device(struct bma150_data *bma150) 507static 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
538static int __devinit bma150_probe(struct i2c_client *client, 538static 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
58static int __devinit cma3000_i2c_probe(struct i2c_client *client, 58static 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
76static int __devinit cobalt_buttons_probe(struct platform_device *pdev) 76static 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
74static int __devinit da9052_onkey_probe(struct platform_device *pdev) 74static 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
76static int __devinit da9055_onkey_probe(struct platform_device *pdev) 76static 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
176static int __devinit dm355evm_keys_probe(struct platform_device *pdev) 176static 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
101static int __devinit gp2a_initialize(struct gp2a_data *dt) 101static 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
125static int __devinit gp2a_probe(struct i2c_client *client, 125static 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
99static int __devinit gpio_tilt_polled_probe(struct platform_device *pdev) 99static 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
90static int __devinit ixp4xx_spkr_probe(struct platform_device *dev) 90static 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
298static void __devinit kxtj9_init_input_device(struct kxtj9_data *tj9, 298static 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
311static int __devinit kxtj9_setup_input_device(struct kxtj9_data *tj9) 311static 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
436static int __devinit kxtj9_setup_polled_device(struct kxtj9_data *tj9) 436static 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
488static int __devinit kxtj9_verify(struct kxtj9_data *tj9) 488static 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
509static int __devinit kxtj9_probe(struct i2c_client *client, 509static 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
51static int __devinit m68kspkr_probe(struct platform_device *dev) 51static 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
65static int __devinit max8925_onkey_probe(struct platform_device *pdev) 65static 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
244static int __devinit max8997_haptic_probe(struct platform_device *pdev) 244static 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
92static int __devinit mc13783_pwrbutton_probe(struct platform_device *pdev) 92static 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 */
170static int __devinit mma8450_probe(struct i2c_client *c, 170static 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 */
260static int __devinit mpu3050_hw_init(struct mpu3050_sensor *sensor) 260static 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 */
309static int __devinit mpu3050_probe(struct i2c_client *client, 309static 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
51static int __devinit pcap_keys_probe(struct platform_device *pdev) 51static 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
56static int __devinit pcf50633_input_probe(struct platform_device *pdev) 56static 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
85static int __devinit pcf8574_kp_probe(struct i2c_client *client, const struct i2c_device_id *id) 85static 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
66static int __devinit pcspkr_probe(struct platform_device *dev) 66static 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
181static int __devinit pm8xxx_vib_probe(struct platform_device *pdev) 181static 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)
81static SIMPLE_DEV_PM_OPS(pm8xxx_pwr_key_pm_ops, 81static 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
84static int __devinit pmic8xxx_pwrkey_probe(struct platform_device *pdev) 84static 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
68static int __devinit pwm_beeper_probe(struct platform_device *pdev) 68static 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
54static int __devinit rb532_button_probe(struct platform_device *pdev) 54static 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
45static int __devinit retu_pwrbutton_probe(struct platform_device *pdev) 45static 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};
150MODULE_DEVICE_TABLE(of, rotary_encoder_of_match); 150MODULE_DEVICE_TABLE(of, rotary_encoder_of_match);
151 151
152static struct rotary_encoder_platform_data * __devinit 152static struct rotary_encoder_platform_data *rotary_encoder_parse_dt(struct device *dev)
153rotary_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
195static int __devinit rotary_encoder_probe(struct platform_device *pdev) 194static 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
94static int __devinit sgi_buttons_probe(struct platform_device *pdev) 94static 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
142static int __devinit sparcspkr_probe(struct device *dev) 142static 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
185static int __devinit bbc_beep_probe(struct platform_device *op) 185static 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
270static int __devinit grover_beep_probe(struct platform_device *op) 270static 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
210static int __devinit twl4030_vibra_probe(struct platform_device *pdev) 210static 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
256static SIMPLE_DEV_PM_OPS(twl6040_vibra_pm_ops, twl6040_vibra_suspend, NULL); 256static SIMPLE_DEV_PM_OPS(twl6040_vibra_pm_ops, twl6040_vibra_suspend, NULL);
257 257
258static int __devinit twl6040_vibra_probe(struct platform_device *pdev) 258static 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
173static void __devinit bios_attach(void) 173static 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(&regs); 190 call_bios(&regs);
191} 191}
192 192
193static u8 __devinit bios_get_cmos_address(void) 193static 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
205static u16 __devinit bios_get_default_setting(u8 subsys) 205static 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
1055static void __devinit wistron_led_init(struct device *parent) 1055static 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
1171static int __devinit wistron_setup_keymap(struct input_dev *dev, 1171static 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
1202static int __devinit setup_input_dev(void) 1202static 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
1240static int __devinit wistron_probe(struct platform_device *dev) 1240static 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
72static int __devinit wm831x_on_probe(struct platform_device *pdev) 72static 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
107static int __devinit xenkbd_probe(struct xenbus_device *dev, 107static 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;