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/hgafb.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/hgafb.c')
-rw-r--r-- | drivers/video/hgafb.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/video/hgafb.c b/drivers/video/hgafb.c index c645f9282650..1e9e2d819d1f 100644 --- a/drivers/video/hgafb.c +++ b/drivers/video/hgafb.c | |||
@@ -106,7 +106,7 @@ static DEFINE_SPINLOCK(hga_reg_lock); | |||
106 | 106 | ||
107 | /* Framebuffer driver structures */ | 107 | /* Framebuffer driver structures */ |
108 | 108 | ||
109 | static struct fb_var_screeninfo hga_default_var __devinitdata = { | 109 | static struct fb_var_screeninfo hga_default_var = { |
110 | .xres = 720, | 110 | .xres = 720, |
111 | .yres = 348, | 111 | .yres = 348, |
112 | .xres_virtual = 720, | 112 | .xres_virtual = 720, |
@@ -120,7 +120,7 @@ static struct fb_var_screeninfo hga_default_var __devinitdata = { | |||
120 | .width = -1, | 120 | .width = -1, |
121 | }; | 121 | }; |
122 | 122 | ||
123 | static struct fb_fix_screeninfo hga_fix __devinitdata = { | 123 | static struct fb_fix_screeninfo hga_fix = { |
124 | .id = "HGA", | 124 | .id = "HGA", |
125 | .type = FB_TYPE_PACKED_PIXELS, /* (not sure) */ | 125 | .type = FB_TYPE_PACKED_PIXELS, /* (not sure) */ |
126 | .visual = FB_VISUAL_MONO10, | 126 | .visual = FB_VISUAL_MONO10, |
@@ -276,7 +276,7 @@ static void hga_blank(int blank_mode) | |||
276 | spin_unlock_irqrestore(&hga_reg_lock, flags); | 276 | spin_unlock_irqrestore(&hga_reg_lock, flags); |
277 | } | 277 | } |
278 | 278 | ||
279 | static int __devinit hga_card_detect(void) | 279 | static int hga_card_detect(void) |
280 | { | 280 | { |
281 | int count = 0; | 281 | int count = 0; |
282 | void __iomem *p, *q; | 282 | void __iomem *p, *q; |
@@ -546,7 +546,7 @@ static struct fb_ops hgafb_ops = { | |||
546 | * Initialization | 546 | * Initialization |
547 | */ | 547 | */ |
548 | 548 | ||
549 | static int __devinit hgafb_probe(struct platform_device *pdev) | 549 | static int hgafb_probe(struct platform_device *pdev) |
550 | { | 550 | { |
551 | struct fb_info *info; | 551 | struct fb_info *info; |
552 | 552 | ||
@@ -592,7 +592,7 @@ static int __devinit hgafb_probe(struct platform_device *pdev) | |||
592 | return 0; | 592 | return 0; |
593 | } | 593 | } |
594 | 594 | ||
595 | static int __devexit hgafb_remove(struct platform_device *pdev) | 595 | static int hgafb_remove(struct platform_device *pdev) |
596 | { | 596 | { |
597 | struct fb_info *info = platform_get_drvdata(pdev); | 597 | struct fb_info *info = platform_get_drvdata(pdev); |
598 | 598 | ||
@@ -617,7 +617,7 @@ static int __devexit hgafb_remove(struct platform_device *pdev) | |||
617 | 617 | ||
618 | static struct platform_driver hgafb_driver = { | 618 | static struct platform_driver hgafb_driver = { |
619 | .probe = hgafb_probe, | 619 | .probe = hgafb_probe, |
620 | .remove = __devexit_p(hgafb_remove), | 620 | .remove = hgafb_remove, |
621 | .driver = { | 621 | .driver = { |
622 | .name = "hgafb", | 622 | .name = "hgafb", |
623 | }, | 623 | }, |