diff options
author | Bill Pemberton <wfp5p@virginia.edu> | 2012-12-03 09:23:55 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-12-03 14:16:54 -0500 |
commit | 97c71ad4cef8bf9af36d2c495a971e149a9b77c8 (patch) | |
tree | be8bbe8b37d6608df3fd0a7993afce3bece2b211 /drivers | |
parent | 0cb0568dfea6b51a39362c484c9caddfc94a78b0 (diff) |
net/apple: 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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/ethernet/apple/bmac.c | 4 | ||||
-rw-r--r-- | drivers/net/ethernet/apple/mace.c | 4 | ||||
-rw-r--r-- | drivers/net/ethernet/apple/macmace.c | 6 |
3 files changed, 7 insertions, 7 deletions
diff --git a/drivers/net/ethernet/apple/bmac.c b/drivers/net/ethernet/apple/bmac.c index 855bdafb1a87..f36bbd6d5085 100644 --- a/drivers/net/ethernet/apple/bmac.c +++ b/drivers/net/ethernet/apple/bmac.c | |||
@@ -1244,7 +1244,7 @@ static const struct net_device_ops bmac_netdev_ops = { | |||
1244 | .ndo_validate_addr = eth_validate_addr, | 1244 | .ndo_validate_addr = eth_validate_addr, |
1245 | }; | 1245 | }; |
1246 | 1246 | ||
1247 | static int __devinit bmac_probe(struct macio_dev *mdev, const struct of_device_id *match) | 1247 | static int bmac_probe(struct macio_dev *mdev, const struct of_device_id *match) |
1248 | { | 1248 | { |
1249 | int j, rev, ret; | 1249 | int j, rev, ret; |
1250 | struct bmac_data *bp; | 1250 | struct bmac_data *bp; |
@@ -1602,7 +1602,7 @@ bmac_proc_info(char *buffer, char **start, off_t offset, int length) | |||
1602 | } | 1602 | } |
1603 | #endif | 1603 | #endif |
1604 | 1604 | ||
1605 | static int __devexit bmac_remove(struct macio_dev *mdev) | 1605 | static int bmac_remove(struct macio_dev *mdev) |
1606 | { | 1606 | { |
1607 | struct net_device *dev = macio_get_drvdata(mdev); | 1607 | struct net_device *dev = macio_get_drvdata(mdev); |
1608 | struct bmac_data *bp = netdev_priv(dev); | 1608 | struct bmac_data *bp = netdev_priv(dev); |
diff --git a/drivers/net/ethernet/apple/mace.c b/drivers/net/ethernet/apple/mace.c index e1df4b76c885..842fe7684904 100644 --- a/drivers/net/ethernet/apple/mace.c +++ b/drivers/net/ethernet/apple/mace.c | |||
@@ -106,7 +106,7 @@ static const struct net_device_ops mace_netdev_ops = { | |||
106 | .ndo_validate_addr = eth_validate_addr, | 106 | .ndo_validate_addr = eth_validate_addr, |
107 | }; | 107 | }; |
108 | 108 | ||
109 | static int __devinit mace_probe(struct macio_dev *mdev, const struct of_device_id *match) | 109 | static int mace_probe(struct macio_dev *mdev, const struct of_device_id *match) |
110 | { | 110 | { |
111 | struct device_node *mace = macio_get_of_node(mdev); | 111 | struct device_node *mace = macio_get_of_node(mdev); |
112 | struct net_device *dev; | 112 | struct net_device *dev; |
@@ -271,7 +271,7 @@ static int __devinit mace_probe(struct macio_dev *mdev, const struct of_device_i | |||
271 | return rc; | 271 | return rc; |
272 | } | 272 | } |
273 | 273 | ||
274 | static int __devexit mace_remove(struct macio_dev *mdev) | 274 | static int mace_remove(struct macio_dev *mdev) |
275 | { | 275 | { |
276 | struct net_device *dev = macio_get_drvdata(mdev); | 276 | struct net_device *dev = macio_get_drvdata(mdev); |
277 | struct mace_data *mp; | 277 | struct mace_data *mp; |
diff --git a/drivers/net/ethernet/apple/macmace.c b/drivers/net/ethernet/apple/macmace.c index a92ddee7f665..a206779c68cf 100644 --- a/drivers/net/ethernet/apple/macmace.c +++ b/drivers/net/ethernet/apple/macmace.c | |||
@@ -195,7 +195,7 @@ static const struct net_device_ops mace_netdev_ops = { | |||
195 | * model of Macintrash has a MACE (AV macintoshes) | 195 | * model of Macintrash has a MACE (AV macintoshes) |
196 | */ | 196 | */ |
197 | 197 | ||
198 | static int __devinit mace_probe(struct platform_device *pdev) | 198 | static int mace_probe(struct platform_device *pdev) |
199 | { | 199 | { |
200 | int j; | 200 | int j; |
201 | struct mace_data *mp; | 201 | struct mace_data *mp; |
@@ -746,7 +746,7 @@ MODULE_LICENSE("GPL"); | |||
746 | MODULE_DESCRIPTION("Macintosh MACE ethernet driver"); | 746 | MODULE_DESCRIPTION("Macintosh MACE ethernet driver"); |
747 | MODULE_ALIAS("platform:macmace"); | 747 | MODULE_ALIAS("platform:macmace"); |
748 | 748 | ||
749 | static int __devexit mac_mace_device_remove (struct platform_device *pdev) | 749 | static int mac_mace_device_remove(struct platform_device *pdev) |
750 | { | 750 | { |
751 | struct net_device *dev = platform_get_drvdata(pdev); | 751 | struct net_device *dev = platform_get_drvdata(pdev); |
752 | struct mace_data *mp = netdev_priv(dev); | 752 | struct mace_data *mp = netdev_priv(dev); |
@@ -768,7 +768,7 @@ static int __devexit mac_mace_device_remove (struct platform_device *pdev) | |||
768 | 768 | ||
769 | static struct platform_driver mac_mace_driver = { | 769 | static struct platform_driver mac_mace_driver = { |
770 | .probe = mace_probe, | 770 | .probe = mace_probe, |
771 | .remove = __devexit_p(mac_mace_device_remove), | 771 | .remove = mac_mace_device_remove, |
772 | .driver = { | 772 | .driver = { |
773 | .name = mac_mace_string, | 773 | .name = mac_mace_string, |
774 | .owner = THIS_MODULE, | 774 | .owner = THIS_MODULE, |