diff options
Diffstat (limited to 'drivers/input/touchscreen/ads7846.c')
-rw-r--r-- | drivers/input/touchscreen/ads7846.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/input/touchscreen/ads7846.c b/drivers/input/touchscreen/ads7846.c index 78e5d9ab0ba7..4f702b3ec1a3 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; |
@@ -1390,7 +1390,7 @@ static int __devinit ads7846_probe(struct spi_device *spi) | |||
1390 | return err; | 1390 | return err; |
1391 | } | 1391 | } |
1392 | 1392 | ||
1393 | static int __devexit ads7846_remove(struct spi_device *spi) | 1393 | static int ads7846_remove(struct spi_device *spi) |
1394 | { | 1394 | { |
1395 | struct ads7846 *ts = dev_get_drvdata(&spi->dev); | 1395 | struct ads7846 *ts = dev_get_drvdata(&spi->dev); |
1396 | 1396 | ||
@@ -1434,7 +1434,7 @@ static struct spi_driver ads7846_driver = { | |||
1434 | .pm = &ads7846_pm, | 1434 | .pm = &ads7846_pm, |
1435 | }, | 1435 | }, |
1436 | .probe = ads7846_probe, | 1436 | .probe = ads7846_probe, |
1437 | .remove = __devexit_p(ads7846_remove), | 1437 | .remove = ads7846_remove, |
1438 | }; | 1438 | }; |
1439 | 1439 | ||
1440 | module_spi_driver(ads7846_driver); | 1440 | module_spi_driver(ads7846_driver); |