aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/imxfb.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/imxfb.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/imxfb.c')
-rw-r--r--drivers/video/imxfb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/video/imxfb.c b/drivers/video/imxfb.c
index e501dbc966b3..12526787a7c7 100644
--- a/drivers/video/imxfb.c
+++ b/drivers/video/imxfb.c
@@ -917,7 +917,7 @@ failed_init:
917 return ret; 917 return ret;
918} 918}
919 919
920static int __devexit imxfb_remove(struct platform_device *pdev) 920static int imxfb_remove(struct platform_device *pdev)
921{ 921{
922 struct imx_fb_platform_data *pdata; 922 struct imx_fb_platform_data *pdata;
923 struct fb_info *info = platform_get_drvdata(pdev); 923 struct fb_info *info = platform_get_drvdata(pdev);
@@ -959,7 +959,7 @@ void imxfb_shutdown(struct platform_device * dev)
959static struct platform_driver imxfb_driver = { 959static struct platform_driver imxfb_driver = {
960 .suspend = imxfb_suspend, 960 .suspend = imxfb_suspend,
961 .resume = imxfb_resume, 961 .resume = imxfb_resume,
962 .remove = __devexit_p(imxfb_remove), 962 .remove = imxfb_remove,
963 .shutdown = imxfb_shutdown, 963 .shutdown = imxfb_shutdown,
964 .driver = { 964 .driver = {
965 .name = DRIVER_NAME, 965 .name = DRIVER_NAME,