diff options
author | Bill Pemberton <wfp5p@virginia.edu> | 2012-12-03 09:56:39 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-12-06 15:04:58 -0500 |
commit | 692023597a5ec01fa2e5e3eec36948c7655009f6 (patch) | |
tree | 5a24a418dde23655e91cec7be90c6f06a1a3d513 /drivers | |
parent | 337b563f72f2e379f11411614f68f3ec73f30592 (diff) |
rt2x00: 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: Ivo van Doorn <IvDoorn@gmail.com>
Cc: Gertjan van Wingerde <gwingerde@gmail.com>
Cc: Helmut Schaa <helmut.schaa@googlemail.com>
Cc: users@rt2x00.serialmonkey.com (moderated for non-subscribers)
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2400pci.c | 2 | ||||
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2500pci.c | 2 | ||||
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2800pci.c | 4 | ||||
-rw-r--r-- | drivers/net/wireless/rt2x00/rt61pci.c | 2 |
4 files changed, 5 insertions, 5 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2400pci.c b/drivers/net/wireless/rt2x00/rt2400pci.c index e3a2d9070cf6..a2d2bc2c7b3d 100644 --- a/drivers/net/wireless/rt2x00/rt2400pci.c +++ b/drivers/net/wireless/rt2x00/rt2400pci.c | |||
@@ -1831,7 +1831,7 @@ static struct pci_driver rt2400pci_driver = { | |||
1831 | .name = KBUILD_MODNAME, | 1831 | .name = KBUILD_MODNAME, |
1832 | .id_table = rt2400pci_device_table, | 1832 | .id_table = rt2400pci_device_table, |
1833 | .probe = rt2400pci_probe, | 1833 | .probe = rt2400pci_probe, |
1834 | .remove = __devexit_p(rt2x00pci_remove), | 1834 | .remove = rt2x00pci_remove, |
1835 | .suspend = rt2x00pci_suspend, | 1835 | .suspend = rt2x00pci_suspend, |
1836 | .resume = rt2x00pci_resume, | 1836 | .resume = rt2x00pci_resume, |
1837 | }; | 1837 | }; |
diff --git a/drivers/net/wireless/rt2x00/rt2500pci.c b/drivers/net/wireless/rt2x00/rt2500pci.c index 479d756e275b..9bea10f53f0a 100644 --- a/drivers/net/wireless/rt2x00/rt2500pci.c +++ b/drivers/net/wireless/rt2x00/rt2500pci.c | |||
@@ -2122,7 +2122,7 @@ static struct pci_driver rt2500pci_driver = { | |||
2122 | .name = KBUILD_MODNAME, | 2122 | .name = KBUILD_MODNAME, |
2123 | .id_table = rt2500pci_device_table, | 2123 | .id_table = rt2500pci_device_table, |
2124 | .probe = rt2500pci_probe, | 2124 | .probe = rt2500pci_probe, |
2125 | .remove = __devexit_p(rt2x00pci_remove), | 2125 | .remove = rt2x00pci_remove, |
2126 | .suspend = rt2x00pci_suspend, | 2126 | .suspend = rt2x00pci_suspend, |
2127 | .resume = rt2x00pci_resume, | 2127 | .resume = rt2x00pci_resume, |
2128 | }; | 2128 | }; |
diff --git a/drivers/net/wireless/rt2x00/rt2800pci.c b/drivers/net/wireless/rt2x00/rt2800pci.c index 27829e1e2e38..9224d874bf24 100644 --- a/drivers/net/wireless/rt2x00/rt2800pci.c +++ b/drivers/net/wireless/rt2x00/rt2800pci.c | |||
@@ -1176,7 +1176,7 @@ static struct platform_driver rt2800soc_driver = { | |||
1176 | .mod_name = KBUILD_MODNAME, | 1176 | .mod_name = KBUILD_MODNAME, |
1177 | }, | 1177 | }, |
1178 | .probe = rt2800soc_probe, | 1178 | .probe = rt2800soc_probe, |
1179 | .remove = __devexit_p(rt2x00soc_remove), | 1179 | .remove = rt2x00soc_remove, |
1180 | .suspend = rt2x00soc_suspend, | 1180 | .suspend = rt2x00soc_suspend, |
1181 | .resume = rt2x00soc_resume, | 1181 | .resume = rt2x00soc_resume, |
1182 | }; | 1182 | }; |
@@ -1193,7 +1193,7 @@ static struct pci_driver rt2800pci_driver = { | |||
1193 | .name = KBUILD_MODNAME, | 1193 | .name = KBUILD_MODNAME, |
1194 | .id_table = rt2800pci_device_table, | 1194 | .id_table = rt2800pci_device_table, |
1195 | .probe = rt2800pci_probe, | 1195 | .probe = rt2800pci_probe, |
1196 | .remove = __devexit_p(rt2x00pci_remove), | 1196 | .remove = rt2x00pci_remove, |
1197 | .suspend = rt2x00pci_suspend, | 1197 | .suspend = rt2x00pci_suspend, |
1198 | .resume = rt2x00pci_resume, | 1198 | .resume = rt2x00pci_resume, |
1199 | }; | 1199 | }; |
diff --git a/drivers/net/wireless/rt2x00/rt61pci.c b/drivers/net/wireless/rt2x00/rt61pci.c index d6582a2fa353..f95792cfcf89 100644 --- a/drivers/net/wireless/rt2x00/rt61pci.c +++ b/drivers/net/wireless/rt2x00/rt61pci.c | |||
@@ -3094,7 +3094,7 @@ static struct pci_driver rt61pci_driver = { | |||
3094 | .name = KBUILD_MODNAME, | 3094 | .name = KBUILD_MODNAME, |
3095 | .id_table = rt61pci_device_table, | 3095 | .id_table = rt61pci_device_table, |
3096 | .probe = rt61pci_probe, | 3096 | .probe = rt61pci_probe, |
3097 | .remove = __devexit_p(rt2x00pci_remove), | 3097 | .remove = rt2x00pci_remove, |
3098 | .suspend = rt2x00pci_suspend, | 3098 | .suspend = rt2x00pci_suspend, |
3099 | .resume = rt2x00pci_resume, | 3099 | .resume = rt2x00pci_resume, |
3100 | }; | 3100 | }; |