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/sgivwfb.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/sgivwfb.c')
-rw-r--r-- | drivers/video/sgivwfb.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/video/sgivwfb.c b/drivers/video/sgivwfb.c index 53455f295510..2331fadc272b 100644 --- a/drivers/video/sgivwfb.c +++ b/drivers/video/sgivwfb.c | |||
@@ -47,7 +47,7 @@ static int ywrap = 0; | |||
47 | 47 | ||
48 | static int flatpanel_id = -1; | 48 | static int flatpanel_id = -1; |
49 | 49 | ||
50 | static struct fb_fix_screeninfo sgivwfb_fix __devinitdata = { | 50 | static struct fb_fix_screeninfo sgivwfb_fix = { |
51 | .id = "SGI Vis WS FB", | 51 | .id = "SGI Vis WS FB", |
52 | .type = FB_TYPE_PACKED_PIXELS, | 52 | .type = FB_TYPE_PACKED_PIXELS, |
53 | .visual = FB_VISUAL_PSEUDOCOLOR, | 53 | .visual = FB_VISUAL_PSEUDOCOLOR, |
@@ -57,7 +57,7 @@ static struct fb_fix_screeninfo sgivwfb_fix __devinitdata = { | |||
57 | .line_length = 640, | 57 | .line_length = 640, |
58 | }; | 58 | }; |
59 | 59 | ||
60 | static struct fb_var_screeninfo sgivwfb_var __devinitdata = { | 60 | static struct fb_var_screeninfo sgivwfb_var = { |
61 | /* 640x480, 8 bpp */ | 61 | /* 640x480, 8 bpp */ |
62 | .xres = 640, | 62 | .xres = 640, |
63 | .yres = 480, | 63 | .yres = 480, |
@@ -79,7 +79,7 @@ static struct fb_var_screeninfo sgivwfb_var __devinitdata = { | |||
79 | .vmode = FB_VMODE_NONINTERLACED | 79 | .vmode = FB_VMODE_NONINTERLACED |
80 | }; | 80 | }; |
81 | 81 | ||
82 | static struct fb_var_screeninfo sgivwfb_var1600sw __devinitdata = { | 82 | static struct fb_var_screeninfo sgivwfb_var1600sw = { |
83 | /* 1600x1024, 8 bpp */ | 83 | /* 1600x1024, 8 bpp */ |
84 | .xres = 1600, | 84 | .xres = 1600, |
85 | .yres = 1024, | 85 | .yres = 1024, |
@@ -745,7 +745,7 @@ int __init sgivwfb_setup(char *options) | |||
745 | /* | 745 | /* |
746 | * Initialisation | 746 | * Initialisation |
747 | */ | 747 | */ |
748 | static int __devinit sgivwfb_probe(struct platform_device *dev) | 748 | static int sgivwfb_probe(struct platform_device *dev) |
749 | { | 749 | { |
750 | struct sgivw_par *par; | 750 | struct sgivw_par *par; |
751 | struct fb_info *info; | 751 | struct fb_info *info; |
@@ -825,7 +825,7 @@ fail_ioremap_regs: | |||
825 | return -ENXIO; | 825 | return -ENXIO; |
826 | } | 826 | } |
827 | 827 | ||
828 | static int __devexit sgivwfb_remove(struct platform_device *dev) | 828 | static int sgivwfb_remove(struct platform_device *dev) |
829 | { | 829 | { |
830 | struct fb_info *info = platform_get_drvdata(dev); | 830 | struct fb_info *info = platform_get_drvdata(dev); |
831 | 831 | ||
@@ -845,7 +845,7 @@ static int __devexit sgivwfb_remove(struct platform_device *dev) | |||
845 | 845 | ||
846 | static struct platform_driver sgivwfb_driver = { | 846 | static struct platform_driver sgivwfb_driver = { |
847 | .probe = sgivwfb_probe, | 847 | .probe = sgivwfb_probe, |
848 | .remove = __devexit_p(sgivwfb_remove), | 848 | .remove = sgivwfb_remove, |
849 | .driver = { | 849 | .driver = { |
850 | .name = "sgivwfb", | 850 | .name = "sgivwfb", |
851 | }, | 851 | }, |