aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/grvga.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/grvga.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/grvga.c')
-rw-r--r--drivers/video/grvga.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/video/grvga.c b/drivers/video/grvga.c
index 5245f9a71892..861109e7de1b 100644
--- a/drivers/video/grvga.c
+++ b/drivers/video/grvga.c
@@ -70,7 +70,7 @@ static const struct fb_videomode grvga_modedb[] = {
70 } 70 }
71 }; 71 };
72 72
73static struct fb_fix_screeninfo grvga_fix __devinitdata = { 73static struct fb_fix_screeninfo grvga_fix = {
74 .id = "AG SVGACTRL", 74 .id = "AG SVGACTRL",
75 .type = FB_TYPE_PACKED_PIXELS, 75 .type = FB_TYPE_PACKED_PIXELS,
76 .visual = FB_VISUAL_PSEUDOCOLOR, 76 .visual = FB_VISUAL_PSEUDOCOLOR,
@@ -267,8 +267,8 @@ static struct fb_ops grvga_ops = {
267 .fb_imageblit = cfb_imageblit 267 .fb_imageblit = cfb_imageblit
268}; 268};
269 269
270static int __devinit grvga_parse_custom(char *options, 270static int grvga_parse_custom(char *options,
271 struct fb_var_screeninfo *screendata) 271 struct fb_var_screeninfo *screendata)
272{ 272{
273 char *this_opt; 273 char *this_opt;
274 int count = 0; 274 int count = 0;
@@ -329,7 +329,7 @@ static int __devinit grvga_parse_custom(char *options,
329 return 0; 329 return 0;
330} 330}
331 331
332static int __devinit grvga_probe(struct platform_device *dev) 332static int grvga_probe(struct platform_device *dev)
333{ 333{
334 struct fb_info *info; 334 struct fb_info *info;
335 int retval = -ENOMEM; 335 int retval = -ENOMEM;
@@ -512,7 +512,7 @@ free_fb:
512 return retval; 512 return retval;
513} 513}
514 514
515static int __devexit grvga_remove(struct platform_device *device) 515static int grvga_remove(struct platform_device *device)
516{ 516{
517 struct fb_info *info = dev_get_drvdata(&device->dev); 517 struct fb_info *info = dev_get_drvdata(&device->dev);
518 struct grvga_par *par = info->par; 518 struct grvga_par *par = info->par;
@@ -554,7 +554,7 @@ static struct platform_driver grvga_driver = {
554 .of_match_table = svgactrl_of_match, 554 .of_match_table = svgactrl_of_match,
555 }, 555 },
556 .probe = grvga_probe, 556 .probe = grvga_probe,
557 .remove = __devexit_p(grvga_remove), 557 .remove = grvga_remove,
558}; 558};
559 559
560 560