aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/mxsfb.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/mxsfb.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/mxsfb.c')
-rw-r--r--drivers/video/mxsfb.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/video/mxsfb.c b/drivers/video/mxsfb.c
index 49619b441500..a45b37c2e88e 100644
--- a/drivers/video/mxsfb.c
+++ b/drivers/video/mxsfb.c
@@ -586,7 +586,7 @@ static struct fb_ops mxsfb_ops = {
586 .fb_imageblit = cfb_imageblit, 586 .fb_imageblit = cfb_imageblit,
587}; 587};
588 588
589static int __devinit mxsfb_restore_mode(struct mxsfb_info *host) 589static int mxsfb_restore_mode(struct mxsfb_info *host)
590{ 590{
591 struct fb_info *fb_info = &host->fb_info; 591 struct fb_info *fb_info = &host->fb_info;
592 unsigned line_count; 592 unsigned line_count;
@@ -677,7 +677,7 @@ static int __devinit mxsfb_restore_mode(struct mxsfb_info *host)
677 return 0; 677 return 0;
678} 678}
679 679
680static int __devinit mxsfb_init_fbinfo(struct mxsfb_info *host) 680static int mxsfb_init_fbinfo(struct mxsfb_info *host)
681{ 681{
682 struct fb_info *fb_info = &host->fb_info; 682 struct fb_info *fb_info = &host->fb_info;
683 struct fb_var_screeninfo *var = &fb_info->var; 683 struct fb_var_screeninfo *var = &fb_info->var;
@@ -739,7 +739,7 @@ static int __devinit mxsfb_init_fbinfo(struct mxsfb_info *host)
739 return 0; 739 return 0;
740} 740}
741 741
742static void __devexit mxsfb_free_videomem(struct mxsfb_info *host) 742static void mxsfb_free_videomem(struct mxsfb_info *host)
743{ 743{
744 struct fb_info *fb_info = &host->fb_info; 744 struct fb_info *fb_info = &host->fb_info;
745 745
@@ -772,7 +772,7 @@ static const struct of_device_id mxsfb_dt_ids[] = {
772}; 772};
773MODULE_DEVICE_TABLE(of, mxsfb_dt_ids); 773MODULE_DEVICE_TABLE(of, mxsfb_dt_ids);
774 774
775static int __devinit mxsfb_probe(struct platform_device *pdev) 775static int mxsfb_probe(struct platform_device *pdev)
776{ 776{
777 const struct of_device_id *of_id = 777 const struct of_device_id *of_id =
778 of_match_device(mxsfb_dt_ids, &pdev->dev); 778 of_match_device(mxsfb_dt_ids, &pdev->dev);
@@ -912,7 +912,7 @@ error_alloc_info:
912 return ret; 912 return ret;
913} 913}
914 914
915static int __devexit mxsfb_remove(struct platform_device *pdev) 915static int mxsfb_remove(struct platform_device *pdev)
916{ 916{
917 struct fb_info *fb_info = platform_get_drvdata(pdev); 917 struct fb_info *fb_info = platform_get_drvdata(pdev);
918 struct mxsfb_info *host = to_imxfb_host(fb_info); 918 struct mxsfb_info *host = to_imxfb_host(fb_info);
@@ -949,7 +949,7 @@ static void mxsfb_shutdown(struct platform_device *pdev)
949 949
950static struct platform_driver mxsfb_driver = { 950static struct platform_driver mxsfb_driver = {
951 .probe = mxsfb_probe, 951 .probe = mxsfb_probe,
952 .remove = __devexit_p(mxsfb_remove), 952 .remove = mxsfb_remove,
953 .shutdown = mxsfb_shutdown, 953 .shutdown = mxsfb_shutdown,
954 .id_table = mxsfb_devtype, 954 .id_table = mxsfb_devtype,
955 .driver = { 955 .driver = {