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/au1k_ir.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/au1k_ir.c')
-rw-r--r-- | drivers/net/irda/au1k_ir.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/irda/au1k_ir.c b/drivers/net/irda/au1k_ir.c index e09417df8f39..b5151e4ced61 100644 --- a/drivers/net/irda/au1k_ir.c +++ b/drivers/net/irda/au1k_ir.c | |||
@@ -760,7 +760,7 @@ static const struct net_device_ops au1k_irda_netdev_ops = { | |||
760 | .ndo_do_ioctl = au1k_irda_ioctl, | 760 | .ndo_do_ioctl = au1k_irda_ioctl, |
761 | }; | 761 | }; |
762 | 762 | ||
763 | static int __devinit au1k_irda_net_init(struct net_device *dev) | 763 | static int au1k_irda_net_init(struct net_device *dev) |
764 | { | 764 | { |
765 | struct au1k_private *aup = netdev_priv(dev); | 765 | struct au1k_private *aup = netdev_priv(dev); |
766 | struct db_dest *pDB, *pDBfree; | 766 | struct db_dest *pDB, *pDBfree; |
@@ -849,7 +849,7 @@ out1: | |||
849 | return retval; | 849 | return retval; |
850 | } | 850 | } |
851 | 851 | ||
852 | static int __devinit au1k_irda_probe(struct platform_device *pdev) | 852 | static int au1k_irda_probe(struct platform_device *pdev) |
853 | { | 853 | { |
854 | struct au1k_private *aup; | 854 | struct au1k_private *aup; |
855 | struct net_device *dev; | 855 | struct net_device *dev; |
@@ -921,7 +921,7 @@ out: | |||
921 | return err; | 921 | return err; |
922 | } | 922 | } |
923 | 923 | ||
924 | static int __devexit au1k_irda_remove(struct platform_device *pdev) | 924 | static int au1k_irda_remove(struct platform_device *pdev) |
925 | { | 925 | { |
926 | struct net_device *dev = platform_get_drvdata(pdev); | 926 | struct net_device *dev = platform_get_drvdata(pdev); |
927 | struct au1k_private *aup = netdev_priv(dev); | 927 | struct au1k_private *aup = netdev_priv(dev); |
@@ -949,7 +949,7 @@ static struct platform_driver au1k_irda_driver = { | |||
949 | .owner = THIS_MODULE, | 949 | .owner = THIS_MODULE, |
950 | }, | 950 | }, |
951 | .probe = au1k_irda_probe, | 951 | .probe = au1k_irda_probe, |
952 | .remove = __devexit_p(au1k_irda_remove), | 952 | .remove = au1k_irda_remove, |
953 | }; | 953 | }; |
954 | 954 | ||
955 | static int __init au1k_irda_load(void) | 955 | static int __init au1k_irda_load(void) |