aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ieee802154
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2012-10-02 19:01:31 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2012-10-02 19:01:31 -0400
commit916082b073ebb7f4e064cebce0768e34cacde508 (patch)
tree8a8037ebbaaffb2336ac4526a7f87ac9a22aeafd /drivers/net/ieee802154
parentaecdc33e111b2c447b622e287c6003726daa1426 (diff)
workqueue: avoid using deprecated functions
The network merge brought in a few users of functions that got deprecated by the workqueue cleanups: the 'system_nrt_wq' is now the same as the regular system_wq, since all workqueues are now non- reentrant. Similarly, remove one use of flush_work_sync() - the regular flush_work() has become synchronous, and the "_sync()" version is thus deprecated as being superfluous. Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/net/ieee802154')
-rw-r--r--drivers/net/ieee802154/mrf24j40.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ieee802154/mrf24j40.c b/drivers/net/ieee802154/mrf24j40.c
index 0e53d4f431d2..ed7521693980 100644
--- a/drivers/net/ieee802154/mrf24j40.c
+++ b/drivers/net/ieee802154/mrf24j40.c
@@ -718,7 +718,7 @@ static int __devexit mrf24j40_remove(struct spi_device *spi)
718 dev_dbg(printdev(devrec), "remove\n"); 718 dev_dbg(printdev(devrec), "remove\n");
719 719
720 free_irq(spi->irq, devrec); 720 free_irq(spi->irq, devrec);
721 flush_work_sync(&devrec->irqwork); /* TODO: Is this the right call? */ 721 flush_work(&devrec->irqwork); /* TODO: Is this the right call? */
722 ieee802154_unregister_device(devrec->dev); 722 ieee802154_unregister_device(devrec->dev);
723 ieee802154_free_device(devrec->dev); 723 ieee802154_free_device(devrec->dev);
724 /* TODO: Will ieee802154_free_device() wait until ->xmit() is 724 /* TODO: Will ieee802154_free_device() wait until ->xmit() is