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/pxa168fb.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/pxa168fb.c')
-rw-r--r-- | drivers/video/pxa168fb.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/video/pxa168fb.c b/drivers/video/pxa168fb.c index f146089261f4..aa9bd1f76d60 100644 --- a/drivers/video/pxa168fb.c +++ b/drivers/video/pxa168fb.c | |||
@@ -560,7 +560,7 @@ static struct fb_ops pxa168fb_ops = { | |||
560 | .fb_imageblit = cfb_imageblit, | 560 | .fb_imageblit = cfb_imageblit, |
561 | }; | 561 | }; |
562 | 562 | ||
563 | static int __devinit pxa168fb_init_mode(struct fb_info *info, | 563 | static int pxa168fb_init_mode(struct fb_info *info, |
564 | struct pxa168fb_mach_info *mi) | 564 | struct pxa168fb_mach_info *mi) |
565 | { | 565 | { |
566 | struct pxa168fb_info *fbi = info->par; | 566 | struct pxa168fb_info *fbi = info->par; |
@@ -600,7 +600,7 @@ static int __devinit pxa168fb_init_mode(struct fb_info *info, | |||
600 | return ret; | 600 | return ret; |
601 | } | 601 | } |
602 | 602 | ||
603 | static int __devinit pxa168fb_probe(struct platform_device *pdev) | 603 | static int pxa168fb_probe(struct platform_device *pdev) |
604 | { | 604 | { |
605 | struct pxa168fb_mach_info *mi; | 605 | struct pxa168fb_mach_info *mi; |
606 | struct fb_info *info = 0; | 606 | struct fb_info *info = 0; |
@@ -783,7 +783,7 @@ failed_put_clk: | |||
783 | return ret; | 783 | return ret; |
784 | } | 784 | } |
785 | 785 | ||
786 | static int __devexit pxa168fb_remove(struct platform_device *pdev) | 786 | static int pxa168fb_remove(struct platform_device *pdev) |
787 | { | 787 | { |
788 | struct pxa168fb_info *fbi = platform_get_drvdata(pdev); | 788 | struct pxa168fb_info *fbi = platform_get_drvdata(pdev); |
789 | struct fb_info *info; | 789 | struct fb_info *info; |
@@ -826,7 +826,7 @@ static struct platform_driver pxa168fb_driver = { | |||
826 | .owner = THIS_MODULE, | 826 | .owner = THIS_MODULE, |
827 | }, | 827 | }, |
828 | .probe = pxa168fb_probe, | 828 | .probe = pxa168fb_probe, |
829 | .remove = __devexit_p(pxa168fb_remove), | 829 | .remove = pxa168fb_remove, |
830 | }; | 830 | }; |
831 | 831 | ||
832 | module_platform_driver(pxa168fb_driver); | 832 | module_platform_driver(pxa168fb_driver); |