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/touchscreen/tsc2005.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/touchscreen/tsc2005.c')
-rw-r--r-- | drivers/input/touchscreen/tsc2005.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; |