rtlwifi: use alloc_workqueue
authorJohn W. Linville <linville@tuxdriver.com>
Thu, 16 Dec 2010 19:59:49 +0000 (14:59 -0500)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 20 Dec 2010 19:52:18 +0000 (14:52 -0500)
create_workqueue is deprecated.  The workqueue usage does not seem to
demand any special treatment, so do not set any flags either.

Signed-off-by: John W. Linville <linville@tuxdriver.com>
Tested-by: Larry Finger <Larry.Finger@lwfinger.net>
Acked-by: Tejun Heo <tj@kernel.org>
drivers/net/wireless/rtlwifi/base.c

index 77fa59a..f6cc073 100644 (file)
@@ -225,7 +225,7 @@ static void _rtl_init_deferred_work(struct ieee80211_hw *hw)
 
        /* <2> work queue */
        rtlpriv->works.hw = hw;
-       rtlpriv->works.rtl_wq = create_workqueue(rtlpriv->cfg->name);
+       rtlpriv->works.rtl_wq = alloc_workqueue(rtlpriv->cfg->name, 0, 0);
        INIT_DELAYED_WORK(&rtlpriv->works.watchdog_wq,
                          (void *)rtl_watchdog_wq_callback);
        INIT_DELAYED_WORK(&rtlpriv->works.ips_nic_off_wq,