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/jz4740_fb.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/jz4740_fb.c')
-rw-r--r-- | drivers/video/jz4740_fb.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/video/jz4740_fb.c b/drivers/video/jz4740_fb.c index 4d25711b9982..d999bb5e0485 100644 --- a/drivers/video/jz4740_fb.c +++ b/drivers/video/jz4740_fb.c | |||
@@ -136,7 +136,7 @@ struct jzfb { | |||
136 | uint32_t pseudo_palette[16]; | 136 | uint32_t pseudo_palette[16]; |
137 | }; | 137 | }; |
138 | 138 | ||
139 | static const struct fb_fix_screeninfo jzfb_fix __devinitconst = { | 139 | static const struct fb_fix_screeninfo jzfb_fix = { |
140 | .id = "JZ4740 FB", | 140 | .id = "JZ4740 FB", |
141 | .type = FB_TYPE_PACKED_PIXELS, | 141 | .type = FB_TYPE_PACKED_PIXELS, |
142 | .visual = FB_VISUAL_TRUECOLOR, | 142 | .visual = FB_VISUAL_TRUECOLOR, |
@@ -619,7 +619,7 @@ static struct fb_ops jzfb_ops = { | |||
619 | .fb_setcolreg = jzfb_setcolreg, | 619 | .fb_setcolreg = jzfb_setcolreg, |
620 | }; | 620 | }; |
621 | 621 | ||
622 | static int __devinit jzfb_probe(struct platform_device *pdev) | 622 | static int jzfb_probe(struct platform_device *pdev) |
623 | { | 623 | { |
624 | int ret; | 624 | int ret; |
625 | struct jzfb *jzfb; | 625 | struct jzfb *jzfb; |
@@ -725,7 +725,7 @@ err_framebuffer_release: | |||
725 | return ret; | 725 | return ret; |
726 | } | 726 | } |
727 | 727 | ||
728 | static int __devexit jzfb_remove(struct platform_device *pdev) | 728 | static int jzfb_remove(struct platform_device *pdev) |
729 | { | 729 | { |
730 | struct jzfb *jzfb = platform_get_drvdata(pdev); | 730 | struct jzfb *jzfb = platform_get_drvdata(pdev); |
731 | 731 | ||
@@ -794,7 +794,7 @@ static const struct dev_pm_ops jzfb_pm_ops = { | |||
794 | 794 | ||
795 | static struct platform_driver jzfb_driver = { | 795 | static struct platform_driver jzfb_driver = { |
796 | .probe = jzfb_probe, | 796 | .probe = jzfb_probe, |
797 | .remove = __devexit_p(jzfb_remove), | 797 | .remove = jzfb_remove, |
798 | .driver = { | 798 | .driver = { |
799 | .name = "jz4740-fb", | 799 | .name = "jz4740-fb", |
800 | .pm = JZFB_PM_OPS, | 800 | .pm = JZFB_PM_OPS, |