aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless
diff options
context:
space:
mode:
authorBill Pemberton <wfp5p@virginia.edu>2012-12-03 09:56:42 -0500
committerJohn W. Linville <linville@tuxdriver.com>2012-12-06 15:04:59 -0500
commitb74324d1048271240f65b2d91816d15e72dd80dd (patch)
treef528c691b3697d0b15e05a9044b9023de09bda14 /drivers/net/wireless
parentfd549f135c43d60b92aff7cfbbfdf4e79b6cc631 (diff)
wlcore/wl18xx/wl12xx: 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: Luciano Coelho <coelho@ti.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless')
-rw-r--r--drivers/net/wireless/ti/wl1251/sdio.c4
-rw-r--r--drivers/net/wireless/ti/wl1251/spi.c6
-rw-r--r--drivers/net/wireless/ti/wl12xx/main.c6
-rw-r--r--drivers/net/wireless/ti/wl18xx/main.c6
-rw-r--r--drivers/net/wireless/ti/wlcore/main.c4
-rw-r--r--drivers/net/wireless/ti/wlcore/sdio.c8
-rw-r--r--drivers/net/wireless/ti/wlcore/spi.c6
-rw-r--r--drivers/net/wireless/ti/wlcore/wlcore.h4
8 files changed, 22 insertions, 22 deletions
diff --git a/drivers/net/wireless/ti/wl1251/sdio.c b/drivers/net/wireless/ti/wl1251/sdio.c
index e2750a12c6f1..e57ee48edff6 100644
--- a/drivers/net/wireless/ti/wl1251/sdio.c
+++ b/drivers/net/wireless/ti/wl1251/sdio.c
@@ -305,7 +305,7 @@ out_free_hw:
305 return ret; 305 return ret;
306} 306}
307 307
308static void __devexit wl1251_sdio_remove(struct sdio_func *func) 308static void wl1251_sdio_remove(struct sdio_func *func)
309{ 309{
310 struct wl1251 *wl = sdio_get_drvdata(func); 310 struct wl1251 *wl = sdio_get_drvdata(func);
311 struct wl1251_sdio *wl_sdio = wl->if_priv; 311 struct wl1251_sdio *wl_sdio = wl->if_priv;
@@ -347,7 +347,7 @@ static struct sdio_driver wl1251_sdio_driver = {
347 .name = "wl1251_sdio", 347 .name = "wl1251_sdio",
348 .id_table = wl1251_devices, 348 .id_table = wl1251_devices,
349 .probe = wl1251_sdio_probe, 349 .probe = wl1251_sdio_probe,
350 .remove = __devexit_p(wl1251_sdio_remove), 350 .remove = wl1251_sdio_remove,
351 .drv.pm = &wl1251_sdio_pm_ops, 351 .drv.pm = &wl1251_sdio_pm_ops,
352}; 352};
353 353
diff --git a/drivers/net/wireless/ti/wl1251/spi.c b/drivers/net/wireless/ti/wl1251/spi.c
index 567660cd2fcd..3b266d3231a3 100644
--- a/drivers/net/wireless/ti/wl1251/spi.c
+++ b/drivers/net/wireless/ti/wl1251/spi.c
@@ -237,7 +237,7 @@ static const struct wl1251_if_operations wl1251_spi_ops = {
237 .power = wl1251_spi_set_power, 237 .power = wl1251_spi_set_power,
238}; 238};
239 239
240static int __devinit wl1251_spi_probe(struct spi_device *spi) 240static int wl1251_spi_probe(struct spi_device *spi)
241{ 241{
242 struct wl12xx_platform_data *pdata; 242 struct wl12xx_platform_data *pdata;
243 struct ieee80211_hw *hw; 243 struct ieee80211_hw *hw;
@@ -309,7 +309,7 @@ static int __devinit wl1251_spi_probe(struct spi_device *spi)
309 return ret; 309 return ret;
310} 310}
311 311
312static int __devexit wl1251_spi_remove(struct spi_device *spi) 312static int wl1251_spi_remove(struct spi_device *spi)
313{ 313{
314 struct wl1251 *wl = dev_get_drvdata(&spi->dev); 314 struct wl1251 *wl = dev_get_drvdata(&spi->dev);
315 315
@@ -326,7 +326,7 @@ static struct spi_driver wl1251_spi_driver = {
326 }, 326 },
327 327
328 .probe = wl1251_spi_probe, 328 .probe = wl1251_spi_probe,
329 .remove = __devexit_p(wl1251_spi_remove), 329 .remove = wl1251_spi_remove,
330}; 330};
331 331
332static int __init wl1251_spi_init(void) 332static int __init wl1251_spi_init(void)
diff --git a/drivers/net/wireless/ti/wl12xx/main.c b/drivers/net/wireless/ti/wl12xx/main.c
index dadf1dbb002a..e5f5f8f39144 100644
--- a/drivers/net/wireless/ti/wl12xx/main.c
+++ b/drivers/net/wireless/ti/wl12xx/main.c
@@ -1696,7 +1696,7 @@ static int wl12xx_setup(struct wl1271 *wl)
1696 return 0; 1696 return 0;
1697} 1697}
1698 1698
1699static int __devinit wl12xx_probe(struct platform_device *pdev) 1699static int wl12xx_probe(struct platform_device *pdev)
1700{ 1700{
1701 struct wl1271 *wl; 1701 struct wl1271 *wl;
1702 struct ieee80211_hw *hw; 1702 struct ieee80211_hw *hw;
@@ -1725,7 +1725,7 @@ out:
1725 return ret; 1725 return ret;
1726} 1726}
1727 1727
1728static const struct platform_device_id wl12xx_id_table[] __devinitconst = { 1728static const struct platform_device_id wl12xx_id_table[] = {
1729 { "wl12xx", 0 }, 1729 { "wl12xx", 0 },
1730 { } /* Terminating Entry */ 1730 { } /* Terminating Entry */
1731}; 1731};
@@ -1733,7 +1733,7 @@ MODULE_DEVICE_TABLE(platform, wl12xx_id_table);
1733 1733
1734static struct platform_driver wl12xx_driver = { 1734static struct platform_driver wl12xx_driver = {
1735 .probe = wl12xx_probe, 1735 .probe = wl12xx_probe,
1736 .remove = __devexit_p(wlcore_remove), 1736 .remove = wlcore_remove,
1737 .id_table = wl12xx_id_table, 1737 .id_table = wl12xx_id_table,
1738 .driver = { 1738 .driver = {
1739 .name = "wl12xx_driver", 1739 .name = "wl12xx_driver",
diff --git a/drivers/net/wireless/ti/wl18xx/main.c b/drivers/net/wireless/ti/wl18xx/main.c
index a39682a7c25f..8d8c1f8c63b7 100644
--- a/drivers/net/wireless/ti/wl18xx/main.c
+++ b/drivers/net/wireless/ti/wl18xx/main.c
@@ -1499,7 +1499,7 @@ static int wl18xx_setup(struct wl1271 *wl)
1499 return 0; 1499 return 0;
1500} 1500}
1501 1501
1502static int __devinit wl18xx_probe(struct platform_device *pdev) 1502static int wl18xx_probe(struct platform_device *pdev)
1503{ 1503{
1504 struct wl1271 *wl; 1504 struct wl1271 *wl;
1505 struct ieee80211_hw *hw; 1505 struct ieee80211_hw *hw;
@@ -1528,7 +1528,7 @@ out:
1528 return ret; 1528 return ret;
1529} 1529}
1530 1530
1531static const struct platform_device_id wl18xx_id_table[] __devinitconst = { 1531static const struct platform_device_id wl18xx_id_table[] = {
1532 { "wl18xx", 0 }, 1532 { "wl18xx", 0 },
1533 { } /* Terminating Entry */ 1533 { } /* Terminating Entry */
1534}; 1534};
@@ -1536,7 +1536,7 @@ MODULE_DEVICE_TABLE(platform, wl18xx_id_table);
1536 1536
1537static struct platform_driver wl18xx_driver = { 1537static struct platform_driver wl18xx_driver = {
1538 .probe = wl18xx_probe, 1538 .probe = wl18xx_probe,
1539 .remove = __devexit_p(wlcore_remove), 1539 .remove = wlcore_remove,
1540 .id_table = wl18xx_id_table, 1540 .id_table = wl18xx_id_table,
1541 .driver = { 1541 .driver = {
1542 .name = "wl18xx_driver", 1542 .name = "wl18xx_driver",
diff --git a/drivers/net/wireless/ti/wlcore/main.c b/drivers/net/wireless/ti/wlcore/main.c
index 4f1a05b92d2d..ea9d8e011bc9 100644
--- a/drivers/net/wireless/ti/wlcore/main.c
+++ b/drivers/net/wireless/ti/wlcore/main.c
@@ -5660,7 +5660,7 @@ out:
5660 complete_all(&wl->nvs_loading_complete); 5660 complete_all(&wl->nvs_loading_complete);
5661} 5661}
5662 5662
5663int __devinit wlcore_probe(struct wl1271 *wl, struct platform_device *pdev) 5663int wlcore_probe(struct wl1271 *wl, struct platform_device *pdev)
5664{ 5664{
5665 int ret; 5665 int ret;
5666 5666
@@ -5683,7 +5683,7 @@ int __devinit wlcore_probe(struct wl1271 *wl, struct platform_device *pdev)
5683} 5683}
5684EXPORT_SYMBOL_GPL(wlcore_probe); 5684EXPORT_SYMBOL_GPL(wlcore_probe);
5685 5685
5686int __devexit wlcore_remove(struct platform_device *pdev) 5686int wlcore_remove(struct platform_device *pdev)
5687{ 5687{
5688 struct wl1271 *wl = platform_get_drvdata(pdev); 5688 struct wl1271 *wl = platform_get_drvdata(pdev);
5689 5689
diff --git a/drivers/net/wireless/ti/wlcore/sdio.c b/drivers/net/wireless/ti/wlcore/sdio.c
index 73ace4b2604e..646f703ae739 100644
--- a/drivers/net/wireless/ti/wlcore/sdio.c
+++ b/drivers/net/wireless/ti/wlcore/sdio.c
@@ -54,7 +54,7 @@ struct wl12xx_sdio_glue {
54 struct platform_device *core; 54 struct platform_device *core;
55}; 55};
56 56
57static const struct sdio_device_id wl1271_devices[] __devinitconst = { 57static const struct sdio_device_id wl1271_devices[] = {
58 { SDIO_DEVICE(SDIO_VENDOR_ID_TI, SDIO_DEVICE_ID_TI_WL1271) }, 58 { SDIO_DEVICE(SDIO_VENDOR_ID_TI, SDIO_DEVICE_ID_TI_WL1271) },
59 {} 59 {}
60}; 60};
@@ -214,7 +214,7 @@ static struct wl1271_if_operations sdio_ops = {
214 .set_block_size = wl1271_sdio_set_block_size, 214 .set_block_size = wl1271_sdio_set_block_size,
215}; 215};
216 216
217static int __devinit wl1271_probe(struct sdio_func *func, 217static int wl1271_probe(struct sdio_func *func,
218 const struct sdio_device_id *id) 218 const struct sdio_device_id *id)
219{ 219{
220 struct wl12xx_platform_data *wlan_data; 220 struct wl12xx_platform_data *wlan_data;
@@ -319,7 +319,7 @@ out:
319 return ret; 319 return ret;
320} 320}
321 321
322static void __devexit wl1271_remove(struct sdio_func *func) 322static void wl1271_remove(struct sdio_func *func)
323{ 323{
324 struct wl12xx_sdio_glue *glue = sdio_get_drvdata(func); 324 struct wl12xx_sdio_glue *glue = sdio_get_drvdata(func);
325 325
@@ -384,7 +384,7 @@ static struct sdio_driver wl1271_sdio_driver = {
384 .name = "wl1271_sdio", 384 .name = "wl1271_sdio",
385 .id_table = wl1271_devices, 385 .id_table = wl1271_devices,
386 .probe = wl1271_probe, 386 .probe = wl1271_probe,
387 .remove = __devexit_p(wl1271_remove), 387 .remove = wl1271_remove,
388#ifdef CONFIG_PM 388#ifdef CONFIG_PM
389 .drv = { 389 .drv = {
390 .pm = &wl1271_sdio_pm_ops, 390 .pm = &wl1271_sdio_pm_ops,
diff --git a/drivers/net/wireless/ti/wlcore/spi.c b/drivers/net/wireless/ti/wlcore/spi.c
index a519bc3adec1..f06f4770ce02 100644
--- a/drivers/net/wireless/ti/wlcore/spi.c
+++ b/drivers/net/wireless/ti/wlcore/spi.c
@@ -324,7 +324,7 @@ static struct wl1271_if_operations spi_ops = {
324 .set_block_size = NULL, 324 .set_block_size = NULL,
325}; 325};
326 326
327static int __devinit wl1271_probe(struct spi_device *spi) 327static int wl1271_probe(struct spi_device *spi)
328{ 328{
329 struct wl12xx_spi_glue *glue; 329 struct wl12xx_spi_glue *glue;
330 struct wl12xx_platform_data *pdata; 330 struct wl12xx_platform_data *pdata;
@@ -403,7 +403,7 @@ out:
403 return ret; 403 return ret;
404} 404}
405 405
406static int __devexit wl1271_remove(struct spi_device *spi) 406static int wl1271_remove(struct spi_device *spi)
407{ 407{
408 struct wl12xx_spi_glue *glue = spi_get_drvdata(spi); 408 struct wl12xx_spi_glue *glue = spi_get_drvdata(spi);
409 409
@@ -422,7 +422,7 @@ static struct spi_driver wl1271_spi_driver = {
422 }, 422 },
423 423
424 .probe = wl1271_probe, 424 .probe = wl1271_probe,
425 .remove = __devexit_p(wl1271_remove), 425 .remove = wl1271_remove,
426}; 426};
427 427
428static int __init wl1271_init(void) 428static int __init wl1271_init(void)
diff --git a/drivers/net/wireless/ti/wlcore/wlcore.h b/drivers/net/wireless/ti/wlcore/wlcore.h
index 68584aa0f2b0..c3884937c007 100644
--- a/drivers/net/wireless/ti/wlcore/wlcore.h
+++ b/drivers/net/wireless/ti/wlcore/wlcore.h
@@ -414,8 +414,8 @@ struct wl1271 {
414 struct completion nvs_loading_complete; 414 struct completion nvs_loading_complete;
415}; 415};
416 416
417int __devinit wlcore_probe(struct wl1271 *wl, struct platform_device *pdev); 417int wlcore_probe(struct wl1271 *wl, struct platform_device *pdev);
418int __devexit wlcore_remove(struct platform_device *pdev); 418int wlcore_remove(struct platform_device *pdev);
419struct ieee80211_hw *wlcore_alloc_hw(size_t priv_size, u32 aggr_buf_size); 419struct ieee80211_hw *wlcore_alloc_hw(size_t priv_size, u32 aggr_buf_size);
420int wlcore_free_hw(struct wl1271 *wl); 420int wlcore_free_hw(struct wl1271 *wl);
421int wlcore_set_key(struct wl1271 *wl, enum set_key_cmd cmd, 421int wlcore_set_key(struct wl1271 *wl, enum set_key_cmd cmd,