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/pxa3xx-gcu.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/pxa3xx-gcu.c')
-rw-r--r-- | drivers/video/pxa3xx-gcu.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/drivers/video/pxa3xx-gcu.c b/drivers/video/pxa3xx-gcu.c index 0b4ae0cebeda..6c984eacc7e3 100644 --- a/drivers/video/pxa3xx-gcu.c +++ b/drivers/video/pxa3xx-gcu.c | |||
@@ -574,8 +574,7 @@ free_buffers(struct platform_device *dev, | |||
574 | priv->free = NULL; | 574 | priv->free = NULL; |
575 | } | 575 | } |
576 | 576 | ||
577 | static int __devinit | 577 | static int pxa3xx_gcu_probe(struct platform_device *dev) |
578 | pxa3xx_gcu_probe(struct platform_device *dev) | ||
579 | { | 578 | { |
580 | int i, ret, irq; | 579 | int i, ret, irq; |
581 | struct resource *r; | 580 | struct resource *r; |
@@ -714,8 +713,7 @@ err_free_priv: | |||
714 | return ret; | 713 | return ret; |
715 | } | 714 | } |
716 | 715 | ||
717 | static int __devexit | 716 | static int pxa3xx_gcu_remove(struct platform_device *dev) |
718 | pxa3xx_gcu_remove(struct platform_device *dev) | ||
719 | { | 717 | { |
720 | struct pxa3xx_gcu_priv *priv = platform_get_drvdata(dev); | 718 | struct pxa3xx_gcu_priv *priv = platform_get_drvdata(dev); |
721 | struct resource *r = priv->resource_mem; | 719 | struct resource *r = priv->resource_mem; |
@@ -737,7 +735,7 @@ pxa3xx_gcu_remove(struct platform_device *dev) | |||
737 | 735 | ||
738 | static struct platform_driver pxa3xx_gcu_driver = { | 736 | static struct platform_driver pxa3xx_gcu_driver = { |
739 | .probe = pxa3xx_gcu_probe, | 737 | .probe = pxa3xx_gcu_probe, |
740 | .remove = __devexit_p(pxa3xx_gcu_remove), | 738 | .remove = pxa3xx_gcu_remove, |
741 | .driver = { | 739 | .driver = { |
742 | .owner = THIS_MODULE, | 740 | .owner = THIS_MODULE, |
743 | .name = DRV_NAME, | 741 | .name = DRV_NAME, |