aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/s1d13xxxfb.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/s1d13xxxfb.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/s1d13xxxfb.c')
-rw-r--r--drivers/video/s1d13xxxfb.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/drivers/video/s1d13xxxfb.c b/drivers/video/s1d13xxxfb.c
index 28b1c6c3d8ac..76d9053d88c1 100644
--- a/drivers/video/s1d13xxxfb.c
+++ b/drivers/video/s1d13xxxfb.c
@@ -84,7 +84,7 @@ static const char *s1d13xxxfb_prod_names[] = {
84/* 84/*
85 * here we define the default struct fb_fix_screeninfo 85 * here we define the default struct fb_fix_screeninfo
86 */ 86 */
87static struct fb_fix_screeninfo __devinitdata s1d13xxxfb_fix = { 87static struct fb_fix_screeninfo s1d13xxxfb_fix = {
88 .id = S1D_FBID, 88 .id = S1D_FBID,
89 .type = FB_TYPE_PACKED_PIXELS, 89 .type = FB_TYPE_PACKED_PIXELS,
90 .visual = FB_VISUAL_PSEUDOCOLOR, 90 .visual = FB_VISUAL_PSEUDOCOLOR,
@@ -622,7 +622,7 @@ static struct fb_ops s1d13xxxfb_fbops = {
622 .fb_imageblit = cfb_imageblit, 622 .fb_imageblit = cfb_imageblit,
623}; 623};
624 624
625static int s1d13xxxfb_width_tab[2][4] __devinitdata = { 625static int s1d13xxxfb_width_tab[2][4] = {
626 {4, 8, 16, -1}, 626 {4, 8, 16, -1},
627 {9, 12, 18, -1}, 627 {9, 12, 18, -1},
628}; 628};
@@ -642,8 +642,7 @@ static int s1d13xxxfb_width_tab[2][4] __devinitdata = {
642 * Note: some of the hardcoded values here might need some love to 642 * Note: some of the hardcoded values here might need some love to
643 * work on various chips, and might need to no longer be hardcoded. 643 * work on various chips, and might need to no longer be hardcoded.
644 */ 644 */
645static void __devinit 645static void s1d13xxxfb_fetch_hw_state(struct fb_info *info)
646s1d13xxxfb_fetch_hw_state(struct fb_info *info)
647{ 646{
648 struct fb_var_screeninfo *var = &info->var; 647 struct fb_var_screeninfo *var = &info->var;
649 struct fb_fix_screeninfo *fix = &info->fix; 648 struct fb_fix_screeninfo *fix = &info->fix;
@@ -764,8 +763,7 @@ s1d13xxxfb_remove(struct platform_device *pdev)
764 return 0; 763 return 0;
765} 764}
766 765
767static int __devinit 766static int s1d13xxxfb_probe(struct platform_device *pdev)
768s1d13xxxfb_probe(struct platform_device *pdev)
769{ 767{
770 struct s1d13xxxfb_par *default_par; 768 struct s1d13xxxfb_par *default_par;
771 struct fb_info *info; 769 struct fb_info *info;