diff options
author | Bill Pemberton <wfp5p@virginia.edu> | 2012-12-03 09:24:00 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-12-03 14:16:55 -0500 |
commit | 03c4d832a2a752120d18567c27812d53ab176e6e (patch) | |
tree | c16c16f70f7e68a20e04ea5139524dc0e8bd1585 /drivers/net/ethernet/pasemi | |
parent | 654b8c5ce3b32403a915dfd41d92ad3118c3406e (diff) |
net/pasemi: 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: Olof Johansson <olof@lixom.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/net/ethernet/pasemi')
-rw-r--r-- | drivers/net/ethernet/pasemi/pasemi_mac.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/ethernet/pasemi/pasemi_mac.c b/drivers/net/ethernet/pasemi/pasemi_mac.c index 6fa74d530e44..0be5844d6372 100644 --- a/drivers/net/ethernet/pasemi/pasemi_mac.c +++ b/drivers/net/ethernet/pasemi/pasemi_mac.c | |||
@@ -1727,7 +1727,7 @@ static const struct net_device_ops pasemi_netdev_ops = { | |||
1727 | #endif | 1727 | #endif |
1728 | }; | 1728 | }; |
1729 | 1729 | ||
1730 | static int __devinit | 1730 | static int |
1731 | pasemi_mac_probe(struct pci_dev *pdev, const struct pci_device_id *ent) | 1731 | pasemi_mac_probe(struct pci_dev *pdev, const struct pci_device_id *ent) |
1732 | { | 1732 | { |
1733 | struct net_device *dev; | 1733 | struct net_device *dev; |
@@ -1849,7 +1849,7 @@ out_disable_device: | |||
1849 | 1849 | ||
1850 | } | 1850 | } |
1851 | 1851 | ||
1852 | static void __devexit pasemi_mac_remove(struct pci_dev *pdev) | 1852 | static void pasemi_mac_remove(struct pci_dev *pdev) |
1853 | { | 1853 | { |
1854 | struct net_device *netdev = pci_get_drvdata(pdev); | 1854 | struct net_device *netdev = pci_get_drvdata(pdev); |
1855 | struct pasemi_mac *mac; | 1855 | struct pasemi_mac *mac; |
@@ -1884,7 +1884,7 @@ static struct pci_driver pasemi_mac_driver = { | |||
1884 | .name = "pasemi_mac", | 1884 | .name = "pasemi_mac", |
1885 | .id_table = pasemi_mac_pci_tbl, | 1885 | .id_table = pasemi_mac_pci_tbl, |
1886 | .probe = pasemi_mac_probe, | 1886 | .probe = pasemi_mac_probe, |
1887 | .remove = __devexit_p(pasemi_mac_remove), | 1887 | .remove = pasemi_mac_remove, |
1888 | }; | 1888 | }; |
1889 | 1889 | ||
1890 | static void __exit pasemi_mac_cleanup_module(void) | 1890 | static void __exit pasemi_mac_cleanup_module(void) |