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 | |
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')
-rw-r--r-- | drivers/net/irda/au1k_ir.c | 8 | ||||
-rw-r--r-- | drivers/net/irda/bfin_sir.c | 8 | ||||
-rw-r--r-- | drivers/net/irda/sh_irda.c | 6 | ||||
-rw-r--r-- | drivers/net/irda/sh_sir.c | 6 | ||||
-rw-r--r-- | drivers/net/irda/smsc-ircc2.c | 4 | ||||
-rw-r--r-- | drivers/net/irda/via-ircc.c | 14 | ||||
-rw-r--r-- | drivers/net/irda/vlsi_ir.c | 6 |
7 files changed, 26 insertions, 26 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) |
diff --git a/drivers/net/irda/bfin_sir.c b/drivers/net/irda/bfin_sir.c index c6a0299aa9f9..fed4a05d55c7 100644 --- a/drivers/net/irda/bfin_sir.c +++ b/drivers/net/irda/bfin_sir.c | |||
@@ -31,7 +31,7 @@ static void turnaround_delay(unsigned long last_jif, int mtt) | |||
31 | schedule_timeout_uninterruptible(ticks); | 31 | schedule_timeout_uninterruptible(ticks); |
32 | } | 32 | } |
33 | 33 | ||
34 | static void __devinit bfin_sir_init_ports(struct bfin_sir_port *sp, struct platform_device *pdev) | 34 | static void bfin_sir_init_ports(struct bfin_sir_port *sp, struct platform_device *pdev) |
35 | { | 35 | { |
36 | int i; | 36 | int i; |
37 | struct resource *res; | 37 | struct resource *res; |
@@ -688,7 +688,7 @@ static const struct net_device_ops bfin_sir_ndo = { | |||
688 | .ndo_get_stats = bfin_sir_stats, | 688 | .ndo_get_stats = bfin_sir_stats, |
689 | }; | 689 | }; |
690 | 690 | ||
691 | static int __devinit bfin_sir_probe(struct platform_device *pdev) | 691 | static int bfin_sir_probe(struct platform_device *pdev) |
692 | { | 692 | { |
693 | struct net_device *dev; | 693 | struct net_device *dev; |
694 | struct bfin_sir_self *self; | 694 | struct bfin_sir_self *self; |
@@ -775,7 +775,7 @@ err_mem_0: | |||
775 | return err; | 775 | return err; |
776 | } | 776 | } |
777 | 777 | ||
778 | static int __devexit bfin_sir_remove(struct platform_device *pdev) | 778 | static int bfin_sir_remove(struct platform_device *pdev) |
779 | { | 779 | { |
780 | struct bfin_sir_port *sir_port; | 780 | struct bfin_sir_port *sir_port; |
781 | struct net_device *dev = NULL; | 781 | struct net_device *dev = NULL; |
@@ -798,7 +798,7 @@ static int __devexit bfin_sir_remove(struct platform_device *pdev) | |||
798 | 798 | ||
799 | static struct platform_driver bfin_ir_driver = { | 799 | static struct platform_driver bfin_ir_driver = { |
800 | .probe = bfin_sir_probe, | 800 | .probe = bfin_sir_probe, |
801 | .remove = __devexit_p(bfin_sir_remove), | 801 | .remove = bfin_sir_remove, |
802 | .suspend = bfin_sir_suspend, | 802 | .suspend = bfin_sir_suspend, |
803 | .resume = bfin_sir_resume, | 803 | .resume = bfin_sir_resume, |
804 | .driver = { | 804 | .driver = { |
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, |
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 | ************************************************************************/ |
708 | static int __devinit sh_sir_probe(struct platform_device *pdev) | 708 | static 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 | ||
786 | static int __devexit sh_sir_remove(struct platform_device *pdev) | 786 | static 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 | ||
804 | static struct platform_driver sh_sir_driver = { | 804 | static 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 | }, |
diff --git a/drivers/net/irda/smsc-ircc2.c b/drivers/net/irda/smsc-ircc2.c index a926813ee91d..82c5f30aabab 100644 --- a/drivers/net/irda/smsc-ircc2.c +++ b/drivers/net/irda/smsc-ircc2.c | |||
@@ -376,7 +376,7 @@ MODULE_DEVICE_TABLE(pnp, smsc_ircc_pnp_table); | |||
376 | static int pnp_driver_registered; | 376 | static int pnp_driver_registered; |
377 | 377 | ||
378 | #ifdef CONFIG_PNP | 378 | #ifdef CONFIG_PNP |
379 | static int __devinit smsc_ircc_pnp_probe(struct pnp_dev *dev, | 379 | static int smsc_ircc_pnp_probe(struct pnp_dev *dev, |
380 | const struct pnp_device_id *dev_id) | 380 | const struct pnp_device_id *dev_id) |
381 | { | 381 | { |
382 | unsigned int firbase, sirbase; | 382 | unsigned int firbase, sirbase; |
@@ -515,7 +515,7 @@ static const struct net_device_ops smsc_ircc_netdev_ops = { | |||
515 | * Try to open driver instance | 515 | * Try to open driver instance |
516 | * | 516 | * |
517 | */ | 517 | */ |
518 | static int __devinit smsc_ircc_open(unsigned int fir_base, unsigned int sir_base, u8 dma, u8 irq) | 518 | static int smsc_ircc_open(unsigned int fir_base, unsigned int sir_base, u8 dma, u8 irq) |
519 | { | 519 | { |
520 | struct smsc_ircc_cb *self; | 520 | struct smsc_ircc_cb *self; |
521 | struct net_device *dev; | 521 | struct net_device *dev; |
diff --git a/drivers/net/irda/via-ircc.c b/drivers/net/irda/via-ircc.c index 1a89fd459dd5..63efbf4b51c8 100644 --- a/drivers/net/irda/via-ircc.c +++ b/drivers/net/irda/via-ircc.c | |||
@@ -102,8 +102,8 @@ static int RxTimerHandler(struct via_ircc_cb *self, int iobase); | |||
102 | static void hwreset(struct via_ircc_cb *self); | 102 | static void hwreset(struct via_ircc_cb *self); |
103 | static int via_ircc_dma_xmit(struct via_ircc_cb *self, u16 iobase); | 103 | static int via_ircc_dma_xmit(struct via_ircc_cb *self, u16 iobase); |
104 | static int upload_rxdata(struct via_ircc_cb *self, int iobase); | 104 | static int upload_rxdata(struct via_ircc_cb *self, int iobase); |
105 | static int __devinit via_init_one (struct pci_dev *pcidev, const struct pci_device_id *id); | 105 | static int via_init_one(struct pci_dev *pcidev, const struct pci_device_id *id); |
106 | static void __devexit via_remove_one (struct pci_dev *pdev); | 106 | static void via_remove_one (struct pci_dev *pdev); |
107 | 107 | ||
108 | /* FIXME : Should use udelay() instead, even if we are x86 only - Jean II */ | 108 | /* FIXME : Should use udelay() instead, even if we are x86 only - Jean II */ |
109 | static void iodelay(int udelay) | 109 | static void iodelay(int udelay) |
@@ -132,7 +132,7 @@ static struct pci_driver via_driver = { | |||
132 | .name = VIA_MODULE_NAME, | 132 | .name = VIA_MODULE_NAME, |
133 | .id_table = via_pci_tbl, | 133 | .id_table = via_pci_tbl, |
134 | .probe = via_init_one, | 134 | .probe = via_init_one, |
135 | .remove = __devexit_p(via_remove_one), | 135 | .remove = via_remove_one, |
136 | }; | 136 | }; |
137 | 137 | ||
138 | 138 | ||
@@ -156,7 +156,7 @@ static int __init via_ircc_init(void) | |||
156 | return 0; | 156 | return 0; |
157 | } | 157 | } |
158 | 158 | ||
159 | static int __devinit via_init_one (struct pci_dev *pcidev, const struct pci_device_id *id) | 159 | static int via_init_one(struct pci_dev *pcidev, const struct pci_device_id *id) |
160 | { | 160 | { |
161 | int rc; | 161 | int rc; |
162 | u8 temp,oldPCI_40,oldPCI_44,bTmp,bTmp1; | 162 | u8 temp,oldPCI_40,oldPCI_44,bTmp,bTmp1; |
@@ -286,8 +286,8 @@ static const struct net_device_ops via_ircc_fir_ops = { | |||
286 | * Open driver instance | 286 | * Open driver instance |
287 | * | 287 | * |
288 | */ | 288 | */ |
289 | static __devinit int via_ircc_open(struct pci_dev *pdev, chipio_t * info, | 289 | static int via_ircc_open(struct pci_dev *pdev, chipio_t *info, |
290 | unsigned int id) | 290 | unsigned int id) |
291 | { | 291 | { |
292 | struct net_device *dev; | 292 | struct net_device *dev; |
293 | struct via_ircc_cb *self; | 293 | struct via_ircc_cb *self; |
@@ -424,7 +424,7 @@ static __devinit int via_ircc_open(struct pci_dev *pdev, chipio_t * info, | |||
424 | * Close driver instance | 424 | * Close driver instance |
425 | * | 425 | * |
426 | */ | 426 | */ |
427 | static void __devexit via_remove_one(struct pci_dev *pdev) | 427 | static void via_remove_one(struct pci_dev *pdev) |
428 | { | 428 | { |
429 | struct via_ircc_cb *self = pci_get_drvdata(pdev); | 429 | struct via_ircc_cb *self = pci_get_drvdata(pdev); |
430 | int iobase; | 430 | int iobase; |
diff --git a/drivers/net/irda/vlsi_ir.c b/drivers/net/irda/vlsi_ir.c index 9021d0131727..2f99f8881dfc 100644 --- a/drivers/net/irda/vlsi_ir.c +++ b/drivers/net/irda/vlsi_ir.c | |||
@@ -1627,7 +1627,7 @@ static int vlsi_irda_init(struct net_device *ndev) | |||
1627 | 1627 | ||
1628 | /**************************************************************/ | 1628 | /**************************************************************/ |
1629 | 1629 | ||
1630 | static int __devinit | 1630 | static int |
1631 | vlsi_irda_probe(struct pci_dev *pdev, const struct pci_device_id *id) | 1631 | vlsi_irda_probe(struct pci_dev *pdev, const struct pci_device_id *id) |
1632 | { | 1632 | { |
1633 | struct net_device *ndev; | 1633 | struct net_device *ndev; |
@@ -1699,7 +1699,7 @@ out: | |||
1699 | return -ENODEV; | 1699 | return -ENODEV; |
1700 | } | 1700 | } |
1701 | 1701 | ||
1702 | static void __devexit vlsi_irda_remove(struct pci_dev *pdev) | 1702 | static void vlsi_irda_remove(struct pci_dev *pdev) |
1703 | { | 1703 | { |
1704 | struct net_device *ndev = pci_get_drvdata(pdev); | 1704 | struct net_device *ndev = pci_get_drvdata(pdev); |
1705 | vlsi_irda_dev_t *idev; | 1705 | vlsi_irda_dev_t *idev; |
@@ -1832,7 +1832,7 @@ static struct pci_driver vlsi_irda_driver = { | |||
1832 | .name = drivername, | 1832 | .name = drivername, |
1833 | .id_table = vlsi_irda_table, | 1833 | .id_table = vlsi_irda_table, |
1834 | .probe = vlsi_irda_probe, | 1834 | .probe = vlsi_irda_probe, |
1835 | .remove = __devexit_p(vlsi_irda_remove), | 1835 | .remove = vlsi_irda_remove, |
1836 | #ifdef CONFIG_PM | 1836 | #ifdef CONFIG_PM |
1837 | .suspend = vlsi_irda_suspend, | 1837 | .suspend = vlsi_irda_suspend, |
1838 | .resume = vlsi_irda_resume, | 1838 | .resume = vlsi_irda_resume, |