aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/w100fb.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/w100fb.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/w100fb.c')
-rw-r--r--drivers/video/w100fb.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/video/w100fb.c b/drivers/video/w100fb.c
index 2f6b2b835f88..7a299e951f75 100644
--- a/drivers/video/w100fb.c
+++ b/drivers/video/w100fb.c
@@ -54,7 +54,7 @@ static void w100_update_enable(void);
54static void w100_update_disable(void); 54static void w100_update_disable(void);
55static void calc_hsync(struct w100fb_par *par); 55static void calc_hsync(struct w100fb_par *par);
56static void w100_init_graphic_engine(struct w100fb_par *par); 56static void w100_init_graphic_engine(struct w100fb_par *par);
57struct w100_pll_info *w100_get_xtal_table(unsigned int freq) __devinit; 57struct w100_pll_info *w100_get_xtal_table(unsigned int freq);
58 58
59/* Pseudo palette size */ 59/* Pseudo palette size */
60#define MAX_PALETTES 16 60#define MAX_PALETTES 16
@@ -630,7 +630,7 @@ static int w100fb_resume(struct platform_device *dev)
630#endif 630#endif
631 631
632 632
633int __devinit w100fb_probe(struct platform_device *pdev) 633int w100fb_probe(struct platform_device *pdev)
634{ 634{
635 int err = -EIO; 635 int err = -EIO;
636 struct w100fb_mach_info *inf; 636 struct w100fb_mach_info *inf;
@@ -783,7 +783,7 @@ out:
783} 783}
784 784
785 785
786static int __devexit w100fb_remove(struct platform_device *pdev) 786static int w100fb_remove(struct platform_device *pdev)
787{ 787{
788 struct fb_info *info = platform_get_drvdata(pdev); 788 struct fb_info *info = platform_get_drvdata(pdev);
789 struct w100fb_par *par=info->par; 789 struct w100fb_par *par=info->par;
@@ -1021,7 +1021,7 @@ static struct pll_entries {
1021 { 0 }, 1021 { 0 },
1022}; 1022};
1023 1023
1024struct w100_pll_info __devinit *w100_get_xtal_table(unsigned int freq) 1024struct w100_pll_info *w100_get_xtal_table(unsigned int freq)
1025{ 1025{
1026 struct pll_entries *pll_entry = w100_pll_tables; 1026 struct pll_entries *pll_entry = w100_pll_tables;
1027 1027
@@ -1624,7 +1624,7 @@ static void w100_vsync(void)
1624 1624
1625static struct platform_driver w100fb_driver = { 1625static struct platform_driver w100fb_driver = {
1626 .probe = w100fb_probe, 1626 .probe = w100fb_probe,
1627 .remove = __devexit_p(w100fb_remove), 1627 .remove = w100fb_remove,
1628 .suspend = w100fb_suspend, 1628 .suspend = w100fb_suspend,
1629 .resume = w100fb_resume, 1629 .resume = w100fb_resume,
1630 .driver = { 1630 .driver = {