diff options
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, |