aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/bfin-lq035q1-fb.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/video/bfin-lq035q1-fb.c')
-rw-r--r--drivers/video/bfin-lq035q1-fb.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/drivers/video/bfin-lq035q1-fb.c b/drivers/video/bfin-lq035q1-fb.c
index 6fbc75c2f0a1..29d8c0443a1f 100644
--- a/drivers/video/bfin-lq035q1-fb.c
+++ b/drivers/video/bfin-lq035q1-fb.c
@@ -137,7 +137,7 @@ static int lq035q1_control(struct spi_device *spi, unsigned char reg, unsigned s
137 return ret; 137 return ret;
138} 138}
139 139
140static int __devinit lq035q1_spidev_probe(struct spi_device *spi) 140static int lq035q1_spidev_probe(struct spi_device *spi)
141{ 141{
142 int ret; 142 int ret;
143 struct spi_control *ctl; 143 struct spi_control *ctl;
@@ -358,8 +358,8 @@ static inline void bfin_lq035q1_free_ports(unsigned ppi16)
358 gpio_free(P_IDENT(P_PPI0_FS3)); 358 gpio_free(P_IDENT(P_PPI0_FS3));
359} 359}
360 360
361static int __devinit bfin_lq035q1_request_ports(struct platform_device *pdev, 361static int bfin_lq035q1_request_ports(struct platform_device *pdev,
362 unsigned ppi16) 362 unsigned ppi16)
363{ 363{
364 int ret; 364 int ret;
365 /* ANOMALY_05000400 - PPI Does Not Start Properly In Specific Mode: 365 /* ANOMALY_05000400 - PPI Does Not Start Properly In Specific Mode:
@@ -555,7 +555,7 @@ static irqreturn_t bfin_lq035q1_irq_error(int irq, void *dev_id)
555 return IRQ_HANDLED; 555 return IRQ_HANDLED;
556} 556}
557 557
558static int __devinit bfin_lq035q1_probe(struct platform_device *pdev) 558static int bfin_lq035q1_probe(struct platform_device *pdev)
559{ 559{
560 struct bfin_lq035q1fb_info *info; 560 struct bfin_lq035q1fb_info *info;
561 struct fb_info *fbinfo; 561 struct fb_info *fbinfo;
@@ -706,7 +706,7 @@ static int __devinit bfin_lq035q1_probe(struct platform_device *pdev)
706 706
707 info->spidrv.driver.name = DRIVER_NAME"-spi"; 707 info->spidrv.driver.name = DRIVER_NAME"-spi";
708 info->spidrv.probe = lq035q1_spidev_probe; 708 info->spidrv.probe = lq035q1_spidev_probe;
709 info->spidrv.remove = __devexit_p(lq035q1_spidev_remove); 709 info->spidrv.remove = lq035q1_spidev_remove;
710 info->spidrv.shutdown = lq035q1_spidev_shutdown; 710 info->spidrv.shutdown = lq035q1_spidev_shutdown;
711 info->spidrv.suspend = lq035q1_spidev_suspend; 711 info->spidrv.suspend = lq035q1_spidev_suspend;
712 info->spidrv.resume = lq035q1_spidev_resume; 712 info->spidrv.resume = lq035q1_spidev_resume;
@@ -764,7 +764,7 @@ static int __devinit bfin_lq035q1_probe(struct platform_device *pdev)
764 return ret; 764 return ret;
765} 765}
766 766
767static int __devexit bfin_lq035q1_remove(struct platform_device *pdev) 767static int bfin_lq035q1_remove(struct platform_device *pdev)
768{ 768{
769 struct fb_info *fbinfo = platform_get_drvdata(pdev); 769 struct fb_info *fbinfo = platform_get_drvdata(pdev);
770 struct bfin_lq035q1fb_info *info = fbinfo->par; 770 struct bfin_lq035q1fb_info *info = fbinfo->par;
@@ -845,7 +845,7 @@ static struct dev_pm_ops bfin_lq035q1_dev_pm_ops = {
845 845
846static struct platform_driver bfin_lq035q1_driver = { 846static struct platform_driver bfin_lq035q1_driver = {
847 .probe = bfin_lq035q1_probe, 847 .probe = bfin_lq035q1_probe,
848 .remove = __devexit_p(bfin_lq035q1_remove), 848 .remove = bfin_lq035q1_remove,
849 .driver = { 849 .driver = {
850 .name = DRIVER_NAME, 850 .name = DRIVER_NAME,
851#ifdef CONFIG_PM 851#ifdef CONFIG_PM