diff options
Diffstat (limited to 'drivers/input/touchscreen/intel-mid-touch.c')
-rw-r--r-- | drivers/input/touchscreen/intel-mid-touch.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/drivers/input/touchscreen/intel-mid-touch.c b/drivers/input/touchscreen/intel-mid-touch.c index cf299377fc49..465db5dba8b4 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; |
@@ -643,7 +643,7 @@ err_free_mem: | |||
643 | return err; | 643 | return err; |
644 | } | 644 | } |
645 | 645 | ||
646 | static int __devexit mrstouch_remove(struct platform_device *pdev) | 646 | static int mrstouch_remove(struct platform_device *pdev) |
647 | { | 647 | { |
648 | struct mrstouch_dev *tsdev = platform_get_drvdata(pdev); | 648 | struct mrstouch_dev *tsdev = platform_get_drvdata(pdev); |
649 | 649 | ||
@@ -662,7 +662,7 @@ static struct platform_driver mrstouch_driver = { | |||
662 | .owner = THIS_MODULE, | 662 | .owner = THIS_MODULE, |
663 | }, | 663 | }, |
664 | .probe = mrstouch_probe, | 664 | .probe = mrstouch_probe, |
665 | .remove = __devexit_p(mrstouch_remove), | 665 | .remove = mrstouch_remove, |
666 | }; | 666 | }; |
667 | module_platform_driver(mrstouch_driver); | 667 | module_platform_driver(mrstouch_driver); |
668 | 668 | ||