i40e: use alloc_workqueue instead of create_singlethread_workqueue
authorJacob Keller <jacob.e.keller@intel.com>
Thu, 4 Aug 2016 18:37:01 +0000 (11:37 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Sat, 20 Aug 2016 04:21:30 +0000 (21:21 -0700)
commit6992a6c9c435c10253a229ce61852f5305fae646
treeb4e7de417f9bb52e4bdb9b7cb7ef05e4194e6f9b
parent552b996256241198a08005a91a206b402ac234f6
i40e: use alloc_workqueue instead of create_singlethread_workqueue

Replace calls to create_singlethread_workqueue instead with alloc_workqueue
as is style with other Intel drivers. This provides more control over
workqueue creation, and allows explicit setting of the desired mode of
operation. It also makes it more obvious that driver name constant is
passed to a format "%s".

Change-ID: I6192b44caf5140336cd54c5b350d51c73b541fdb
Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_main.c
drivers/net/ethernet/intel/i40evf/i40evf_main.c