diff options
author | Bill Pemberton <wfp5p@virginia.edu> | 2012-12-03 09:24:13 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-12-03 14:16:56 -0500 |
commit | 45ac936c3ec93f347cfb7652bd7b332dc0c9b2e8 (patch) | |
tree | 38ef229b827ad2d79c4cc748fe35c98b17afddfe /drivers/net/irda/sh_irda.c | |
parent | bb1f4606754c45bbb467c15aa5fec84228f73e47 (diff) |
irda: remove __dev* attributes
CONFIG_HOTPLUG is going away as an option. As result the __dev*
markings will be going away.
Remove use of __devinit, __devexit_p, __devinitdata, __devinitconst,
and __devexit.
Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Cc: Samuel Ortiz <samuel@sortiz.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/net/irda/sh_irda.c')
-rw-r--r-- | drivers/net/irda/sh_irda.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/irda/sh_irda.c b/drivers/net/irda/sh_irda.c index 945360a99cb4..9448587de453 100644 --- a/drivers/net/irda/sh_irda.c +++ b/drivers/net/irda/sh_irda.c | |||
@@ -753,7 +753,7 @@ static const struct net_device_ops sh_irda_ndo = { | |||
753 | 753 | ||
754 | 754 | ||
755 | ************************************************************************/ | 755 | ************************************************************************/ |
756 | static int __devinit sh_irda_probe(struct platform_device *pdev) | 756 | static int sh_irda_probe(struct platform_device *pdev) |
757 | { | 757 | { |
758 | struct net_device *ndev; | 758 | struct net_device *ndev; |
759 | struct sh_irda_self *self; | 759 | struct sh_irda_self *self; |
@@ -825,7 +825,7 @@ exit: | |||
825 | return err; | 825 | return err; |
826 | } | 826 | } |
827 | 827 | ||
828 | static int __devexit sh_irda_remove(struct platform_device *pdev) | 828 | static int sh_irda_remove(struct platform_device *pdev) |
829 | { | 829 | { |
830 | struct net_device *ndev = platform_get_drvdata(pdev); | 830 | struct net_device *ndev = platform_get_drvdata(pdev); |
831 | struct sh_irda_self *self = netdev_priv(ndev); | 831 | struct sh_irda_self *self = netdev_priv(ndev); |
@@ -862,7 +862,7 @@ static const struct dev_pm_ops sh_irda_pm_ops = { | |||
862 | 862 | ||
863 | static struct platform_driver sh_irda_driver = { | 863 | static struct platform_driver sh_irda_driver = { |
864 | .probe = sh_irda_probe, | 864 | .probe = sh_irda_probe, |
865 | .remove = __devexit_p(sh_irda_remove), | 865 | .remove = sh_irda_remove, |
866 | .driver = { | 866 | .driver = { |
867 | .name = DRIVER_NAME, | 867 | .name = DRIVER_NAME, |
868 | .pm = &sh_irda_pm_ops, | 868 | .pm = &sh_irda_pm_ops, |