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/misc/kxtj9.c | |
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/misc/kxtj9.c')
-rw-r--r-- | drivers/input/misc/kxtj9.c | 10 |
1 files changed, 5 insertions, 5 deletions
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; |