aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/irda/sh_sir.c
diff options
context:
space:
mode:
authorBill Pemberton <wfp5p@virginia.edu>2012-12-03 09:24:13 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-12-03 14:16:56 -0500
commit45ac936c3ec93f347cfb7652bd7b332dc0c9b2e8 (patch)
tree38ef229b827ad2d79c4cc748fe35c98b17afddfe /drivers/net/irda/sh_sir.c
parentbb1f4606754c45bbb467c15aa5fec84228f73e47 (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_sir.c')
-rw-r--r--drivers/net/irda/sh_sir.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/irda/sh_sir.c b/drivers/net/irda/sh_sir.c
index 624ac1939e85..24aefcd84065 100644
--- a/drivers/net/irda/sh_sir.c
+++ b/drivers/net/irda/sh_sir.c
@@ -705,7 +705,7 @@ static const struct net_device_ops sh_sir_ndo = {
705 705
706 706
707************************************************************************/ 707************************************************************************/
708static int __devinit sh_sir_probe(struct platform_device *pdev) 708static int sh_sir_probe(struct platform_device *pdev)
709{ 709{
710 struct net_device *ndev; 710 struct net_device *ndev;
711 struct sh_sir_self *self; 711 struct sh_sir_self *self;
@@ -783,7 +783,7 @@ exit:
783 return err; 783 return err;
784} 784}
785 785
786static int __devexit sh_sir_remove(struct platform_device *pdev) 786static int sh_sir_remove(struct platform_device *pdev)
787{ 787{
788 struct net_device *ndev = platform_get_drvdata(pdev); 788 struct net_device *ndev = platform_get_drvdata(pdev);
789 struct sh_sir_self *self = netdev_priv(ndev); 789 struct sh_sir_self *self = netdev_priv(ndev);
@@ -803,7 +803,7 @@ static int __devexit sh_sir_remove(struct platform_device *pdev)
803 803
804static struct platform_driver sh_sir_driver = { 804static struct platform_driver sh_sir_driver = {
805 .probe = sh_sir_probe, 805 .probe = sh_sir_probe,
806 .remove = __devexit_p(sh_sir_remove), 806 .remove = sh_sir_remove,
807 .driver = { 807 .driver = {
808 .name = DRIVER_NAME, 808 .name = DRIVER_NAME,
809 }, 809 },