aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/bf537-lq035.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2013-01-03 19:17:50 -0500
committerLinus Torvalds <torvalds@linux-foundation.org>2013-01-03 19:17:50 -0500
commit49569646b2413ee1a4fb7c4537fca058ac22292e (patch)
tree41b8bc72975610295c2e4cf9318478272c667c75 /drivers/video/bf537-lq035.c
parent5f738967e89584f99c6a11c6bf09b16c50b6a03e (diff)
parent6ae141718e3f9c7e2c620e999c86612a7f415bb1 (diff)
Merge tag 'driver-core-3.8-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core
Pull driver core __dev* removal patches - take 3 - from Greg Kroah-Hartman: "Here are the remaining __dev* removal patches against the 3.8-rc2 tree. All of these patches were previously sent to the subsystem maintainers, most of them were picked up and pushed to you, but there were a number that fell through the cracks, and new drivers were added during the merge window, so this series cleans up the rest of the instances of these markings. Third time's the charm... Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>" Fixed up trivial conflict with the pinctrl pull in pinctrl-sirf.c. * tag 'driver-core-3.8-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core: (54 commits) misc: remove __dev* attributes. include: remove __dev* attributes. Documentation: remove __dev* attributes. Drivers: misc: remove __dev* attributes. Drivers: block: remove __dev* attributes. Drivers: bcma: remove __dev* attributes. Drivers: char: remove __dev* attributes. Drivers: clocksource: remove __dev* attributes. Drivers: ssb: remove __dev* attributes. Drivers: dma: remove __dev* attributes. Drivers: gpu: remove __dev* attributes. Drivers: infinband: remove __dev* attributes. Drivers: memory: remove __dev* attributes. Drivers: mmc: remove __dev* attributes. Drivers: iommu: remove __dev* attributes. Drivers: power: remove __dev* attributes. Drivers: message: remove __dev* attributes. Drivers: macintosh: remove __dev* attributes. Drivers: mfd: remove __dev* attributes. pstore: remove __dev* attributes. ...
Diffstat (limited to 'drivers/video/bf537-lq035.c')
-rw-r--r--drivers/video/bf537-lq035.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/drivers/video/bf537-lq035.c b/drivers/video/bf537-lq035.c
index 7347aa1e5e4a..a82d2578d976 100644
--- a/drivers/video/bf537-lq035.c
+++ b/drivers/video/bf537-lq035.c
@@ -87,8 +87,8 @@ static void set_vcomm(void)
87 pr_err("i2c_smbus_write_byte_data fail: %d\n", nr); 87 pr_err("i2c_smbus_write_byte_data fail: %d\n", nr);
88} 88}
89 89
90static int __devinit ad5280_probe(struct i2c_client *client, 90static int ad5280_probe(struct i2c_client *client,
91 const struct i2c_device_id *id) 91 const struct i2c_device_id *id)
92{ 92{
93 int ret; 93 int ret;
94 if (!i2c_check_functionality(client->adapter, 94 if (!i2c_check_functionality(client->adapter,
@@ -108,7 +108,7 @@ static int __devinit ad5280_probe(struct i2c_client *client,
108 return 0; 108 return 0;
109} 109}
110 110
111static int __devexit ad5280_remove(struct i2c_client *client) 111static int ad5280_remove(struct i2c_client *client)
112{ 112{
113 ad5280_client = NULL; 113 ad5280_client = NULL;
114 return 0; 114 return 0;
@@ -126,7 +126,7 @@ static struct i2c_driver ad5280_driver = {
126 .name = "bf537-lq035-ad5280", 126 .name = "bf537-lq035-ad5280",
127 }, 127 },
128 .probe = ad5280_probe, 128 .probe = ad5280_probe,
129 .remove = __devexit_p(ad5280_remove), 129 .remove = ad5280_remove,
130 .id_table = ad5280_id, 130 .id_table = ad5280_id,
131}; 131};
132 132
@@ -360,7 +360,7 @@ static int config_dma(void)
360 return 0; 360 return 0;
361} 361}
362 362
363static int __devinit request_ports(void) 363static int request_ports(void)
364{ 364{
365 u16 tmr_req[] = TIMERS; 365 u16 tmr_req[] = TIMERS;
366 366
@@ -443,7 +443,7 @@ static struct fb_var_screeninfo bfin_lq035_fb_defined = {
443 .transp = {0, 0, 0}, 443 .transp = {0, 0, 0},
444}; 444};
445 445
446static struct fb_fix_screeninfo bfin_lq035_fb_fix __devinitdata = { 446static struct fb_fix_screeninfo bfin_lq035_fb_fix = {
447 .id = KBUILD_MODNAME, 447 .id = KBUILD_MODNAME,
448 .smem_len = ACTIVE_VIDEO_MEM_SIZE, 448 .smem_len = ACTIVE_VIDEO_MEM_SIZE,
449 .type = FB_TYPE_PACKED_PIXELS, 449 .type = FB_TYPE_PACKED_PIXELS,
@@ -686,7 +686,7 @@ static struct lcd_ops bfin_lcd_ops = {
686 686
687static struct lcd_device *lcd_dev; 687static struct lcd_device *lcd_dev;
688 688
689static int __devinit bfin_lq035_probe(struct platform_device *pdev) 689static int bfin_lq035_probe(struct platform_device *pdev)
690{ 690{
691 struct backlight_properties props; 691 struct backlight_properties props;
692 dma_addr_t dma_handle; 692 dma_addr_t dma_handle;
@@ -816,7 +816,7 @@ out_ports:
816 return ret; 816 return ret;
817} 817}
818 818
819static int __devexit bfin_lq035_remove(struct platform_device *pdev) 819static int bfin_lq035_remove(struct platform_device *pdev)
820{ 820{
821 if (fb_buffer != NULL) 821 if (fb_buffer != NULL)
822 dma_free_coherent(NULL, TOTAL_VIDEO_MEM_SIZE, fb_buffer, 0); 822 dma_free_coherent(NULL, TOTAL_VIDEO_MEM_SIZE, fb_buffer, 0);
@@ -889,7 +889,7 @@ static int bfin_lq035_resume(struct platform_device *pdev)
889 889
890static struct platform_driver bfin_lq035_driver = { 890static struct platform_driver bfin_lq035_driver = {
891 .probe = bfin_lq035_probe, 891 .probe = bfin_lq035_probe,
892 .remove = __devexit_p(bfin_lq035_remove), 892 .remove = bfin_lq035_remove,
893 .suspend = bfin_lq035_suspend, 893 .suspend = bfin_lq035_suspend,
894 .resume = bfin_lq035_resume, 894 .resume = bfin_lq035_resume,
895 .driver = { 895 .driver = {