diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-12-21 16:07:39 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-01-03 18:57:01 -0500 |
commit | 48c68c4f1b542444f175a9e136febcecf3e704d8 (patch) | |
tree | d28f4f3b42643990c2908d27e9caf120f6234b73 /drivers/video/bf537-lq035.c | |
parent | 8590dbc79a0ff5d7ab16b2b1743684c241ae3c65 (diff) |
Drivers: video: remove __dev* attributes.
CONFIG_HOTPLUG is going away as an option. As a result, the __dev*
markings need to be removed.
This change removes the use of __devinit, __devexit_p, __devinitdata,
__devinitconst, and __devexit from these drivers.
Based on patches originally written by Bill Pemberton, but redone by me
in order to handle some of the coding style issues better, by hand.
Cc: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/video/bf537-lq035.c')
-rw-r--r-- | drivers/video/bf537-lq035.c | 18 |
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 | ||
90 | static int __devinit ad5280_probe(struct i2c_client *client, | 90 | static 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 | ||
111 | static int __devexit ad5280_remove(struct i2c_client *client) | 111 | static 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 | ||
363 | static int __devinit request_ports(void) | 363 | static 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 | ||
446 | static struct fb_fix_screeninfo bfin_lq035_fb_fix __devinitdata = { | 446 | static 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 | ||
687 | static struct lcd_device *lcd_dev; | 687 | static struct lcd_device *lcd_dev; |
688 | 688 | ||
689 | static int __devinit bfin_lq035_probe(struct platform_device *pdev) | 689 | static 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 | ||
819 | static int __devexit bfin_lq035_remove(struct platform_device *pdev) | 819 | static 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 | ||
890 | static struct platform_driver bfin_lq035_driver = { | 890 | static 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 = { |