diff options
author | Bill Pemberton <wfp5p@virginia.edu> | 2012-12-03 09:22:43 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-12-03 14:16:10 -0500 |
commit | 7c47bab62192d4dd6ba7f7633f2fb94d259e964e (patch) | |
tree | b2045a9edb89692681e69259ad963252f43c42d2 /drivers/net/arcnet | |
parent | 60e476d02129acb1f863a9b4932358678ee6a355 (diff) |
ARCNET: 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/net/arcnet')
-rw-r--r-- | drivers/net/arcnet/com20020-pci.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/arcnet/com20020-pci.c b/drivers/net/arcnet/com20020-pci.c index d427493997b6..cbc44f53755a 100644 --- a/drivers/net/arcnet/com20020-pci.c +++ b/drivers/net/arcnet/com20020-pci.c | |||
@@ -61,7 +61,7 @@ module_param(clockp, int, 0); | |||
61 | module_param(clockm, int, 0); | 61 | module_param(clockm, int, 0); |
62 | MODULE_LICENSE("GPL"); | 62 | MODULE_LICENSE("GPL"); |
63 | 63 | ||
64 | static int __devinit com20020pci_probe(struct pci_dev *pdev, const struct pci_device_id *id) | 64 | static int com20020pci_probe(struct pci_dev *pdev, const struct pci_device_id *id) |
65 | { | 65 | { |
66 | struct net_device *dev; | 66 | struct net_device *dev; |
67 | struct arcnet_local *lp; | 67 | struct arcnet_local *lp; |
@@ -135,7 +135,7 @@ out_dev: | |||
135 | return err; | 135 | return err; |
136 | } | 136 | } |
137 | 137 | ||
138 | static void __devexit com20020pci_remove(struct pci_dev *pdev) | 138 | static void com20020pci_remove(struct pci_dev *pdev) |
139 | { | 139 | { |
140 | struct net_device *dev = pci_get_drvdata(pdev); | 140 | struct net_device *dev = pci_get_drvdata(pdev); |
141 | unregister_netdev(dev); | 141 | unregister_netdev(dev); |
@@ -178,7 +178,7 @@ static struct pci_driver com20020pci_driver = { | |||
178 | .name = "com20020", | 178 | .name = "com20020", |
179 | .id_table = com20020pci_id_table, | 179 | .id_table = com20020pci_id_table, |
180 | .probe = com20020pci_probe, | 180 | .probe = com20020pci_probe, |
181 | .remove = __devexit_p(com20020pci_remove), | 181 | .remove = com20020pci_remove, |
182 | }; | 182 | }; |
183 | 183 | ||
184 | static int __init com20020pci_init(void) | 184 | static int __init com20020pci_init(void) |