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/clps711xfb.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/clps711xfb.c')
-rw-r--r-- | drivers/video/clps711xfb.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/video/clps711xfb.c b/drivers/video/clps711xfb.c index 63ecdf8f7baf..5a7af0deced2 100644 --- a/drivers/video/clps711xfb.c +++ b/drivers/video/clps711xfb.c | |||
@@ -178,7 +178,7 @@ static struct fb_ops clps7111fb_ops = { | |||
178 | .fb_imageblit = cfb_imageblit, | 178 | .fb_imageblit = cfb_imageblit, |
179 | }; | 179 | }; |
180 | 180 | ||
181 | static void __devinit clps711x_guess_lcd_params(struct fb_info *info) | 181 | static void clps711x_guess_lcd_params(struct fb_info *info) |
182 | { | 182 | { |
183 | unsigned int lcdcon, syscon, size; | 183 | unsigned int lcdcon, syscon, size; |
184 | unsigned long phys_base = PAGE_OFFSET; | 184 | unsigned long phys_base = PAGE_OFFSET; |
@@ -266,7 +266,7 @@ static void __devinit clps711x_guess_lcd_params(struct fb_info *info) | |||
266 | info->fix.type = FB_TYPE_PACKED_PIXELS; | 266 | info->fix.type = FB_TYPE_PACKED_PIXELS; |
267 | } | 267 | } |
268 | 268 | ||
269 | static int __devinit clps711x_fb_probe(struct platform_device *pdev) | 269 | static int clps711x_fb_probe(struct platform_device *pdev) |
270 | { | 270 | { |
271 | int err = -ENOMEM; | 271 | int err = -ENOMEM; |
272 | 272 | ||
@@ -291,7 +291,7 @@ static int __devinit clps711x_fb_probe(struct platform_device *pdev) | |||
291 | out: return err; | 291 | out: return err; |
292 | } | 292 | } |
293 | 293 | ||
294 | static int __devexit clps711x_fb_remove(struct platform_device *pdev) | 294 | static int clps711x_fb_remove(struct platform_device *pdev) |
295 | { | 295 | { |
296 | unregister_framebuffer(cfb); | 296 | unregister_framebuffer(cfb); |
297 | kfree(cfb); | 297 | kfree(cfb); |
@@ -305,7 +305,7 @@ static struct platform_driver clps711x_fb_driver = { | |||
305 | .owner = THIS_MODULE, | 305 | .owner = THIS_MODULE, |
306 | }, | 306 | }, |
307 | .probe = clps711x_fb_probe, | 307 | .probe = clps711x_fb_probe, |
308 | .remove = __devexit_p(clps711x_fb_remove), | 308 | .remove = clps711x_fb_remove, |
309 | }; | 309 | }; |
310 | module_platform_driver(clps711x_fb_driver); | 310 | module_platform_driver(clps711x_fb_driver); |
311 | 311 | ||