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/leo.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/leo.c')
-rw-r--r-- | drivers/video/leo.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/video/leo.c b/drivers/video/leo.c index 9e946e2c1da9..b17f5009a436 100644 --- a/drivers/video/leo.c +++ b/drivers/video/leo.c | |||
@@ -547,7 +547,7 @@ static void leo_unmap_regs(struct platform_device *op, struct fb_info *info, | |||
547 | of_iounmap(&op->resource[0], info->screen_base, 0x800000); | 547 | of_iounmap(&op->resource[0], info->screen_base, 0x800000); |
548 | } | 548 | } |
549 | 549 | ||
550 | static int __devinit leo_probe(struct platform_device *op) | 550 | static int leo_probe(struct platform_device *op) |
551 | { | 551 | { |
552 | struct device_node *dp = op->dev.of_node; | 552 | struct device_node *dp = op->dev.of_node; |
553 | struct fb_info *info; | 553 | struct fb_info *info; |
@@ -636,7 +636,7 @@ out_err: | |||
636 | return err; | 636 | return err; |
637 | } | 637 | } |
638 | 638 | ||
639 | static int __devexit leo_remove(struct platform_device *op) | 639 | static int leo_remove(struct platform_device *op) |
640 | { | 640 | { |
641 | struct fb_info *info = dev_get_drvdata(&op->dev); | 641 | struct fb_info *info = dev_get_drvdata(&op->dev); |
642 | struct leo_par *par = info->par; | 642 | struct leo_par *par = info->par; |
@@ -668,7 +668,7 @@ static struct platform_driver leo_driver = { | |||
668 | .of_match_table = leo_match, | 668 | .of_match_table = leo_match, |
669 | }, | 669 | }, |
670 | .probe = leo_probe, | 670 | .probe = leo_probe, |
671 | .remove = __devexit_p(leo_remove), | 671 | .remove = leo_remove, |
672 | }; | 672 | }; |
673 | 673 | ||
674 | static int __init leo_init(void) | 674 | static int __init leo_init(void) |