aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/cobalt_lcdfb.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-12-21 16:07:39 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-01-03 18:57:01 -0500
commit48c68c4f1b542444f175a9e136febcecf3e704d8 (patch)
treed28f4f3b42643990c2908d27e9caf120f6234b73 /drivers/video/cobalt_lcdfb.c
parent8590dbc79a0ff5d7ab16b2b1743684c241ae3c65 (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/cobalt_lcdfb.c')
-rw-r--r--drivers/video/cobalt_lcdfb.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/video/cobalt_lcdfb.c b/drivers/video/cobalt_lcdfb.c
index 01a4ee7cc6b1..a9031498e10c 100644
--- a/drivers/video/cobalt_lcdfb.c
+++ b/drivers/video/cobalt_lcdfb.c
@@ -167,7 +167,7 @@ static void lcd_clear(struct fb_info *info)
167 lcd_write_control(info, LCD_RESET); 167 lcd_write_control(info, LCD_RESET);
168} 168}
169 169
170static struct fb_fix_screeninfo cobalt_lcdfb_fix __devinitdata = { 170static struct fb_fix_screeninfo cobalt_lcdfb_fix = {
171 .id = "cobalt-lcd", 171 .id = "cobalt-lcd",
172 .type = FB_TYPE_TEXT, 172 .type = FB_TYPE_TEXT,
173 .type_aux = FB_AUX_TEXT_MDA, 173 .type_aux = FB_AUX_TEXT_MDA,
@@ -331,7 +331,7 @@ static struct fb_ops cobalt_lcd_fbops = {
331 .fb_cursor = cobalt_lcdfb_cursor, 331 .fb_cursor = cobalt_lcdfb_cursor,
332}; 332};
333 333
334static int __devinit cobalt_lcdfb_probe(struct platform_device *dev) 334static int cobalt_lcdfb_probe(struct platform_device *dev)
335{ 335{
336 struct fb_info *info; 336 struct fb_info *info;
337 struct resource *res; 337 struct resource *res;
@@ -374,7 +374,7 @@ static int __devinit cobalt_lcdfb_probe(struct platform_device *dev)
374 return 0; 374 return 0;
375} 375}
376 376
377static int __devexit cobalt_lcdfb_remove(struct platform_device *dev) 377static int cobalt_lcdfb_remove(struct platform_device *dev)
378{ 378{
379 struct fb_info *info; 379 struct fb_info *info;
380 380
@@ -389,7 +389,7 @@ static int __devexit cobalt_lcdfb_remove(struct platform_device *dev)
389 389
390static struct platform_driver cobalt_lcdfb_driver = { 390static struct platform_driver cobalt_lcdfb_driver = {
391 .probe = cobalt_lcdfb_probe, 391 .probe = cobalt_lcdfb_probe,
392 .remove = __devexit_p(cobalt_lcdfb_remove), 392 .remove = cobalt_lcdfb_remove,
393 .driver = { 393 .driver = {
394 .name = "cobalt-lcd", 394 .name = "cobalt-lcd",
395 .owner = THIS_MODULE, 395 .owner = THIS_MODULE,