From: Sergio Paracuellos Date: Mon, 23 Apr 2018 13:44:43 +0000 (+0200) Subject: staging: ks7010: replace create_workqueue with alloc_workqueue X-Git-Tag: v4.19~841^2~537 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4487cf88f8371f5ae4375dc26b0c697047e2121c;p=platform%2Fkernel%2Flinux-rpi.git staging: ks7010: replace create_workqueue with alloc_workqueue This commit replaces deprecated create_workqueue call with the alloc_workqueue one which is the one to be used now for this purpose. Signed-off-by: Sergio Paracuellos Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/ks7010/ks7010_sdio.c b/drivers/staging/ks7010/ks7010_sdio.c index 31022e4..fe4beb0 100644 --- a/drivers/staging/ks7010/ks7010_sdio.c +++ b/drivers/staging/ks7010/ks7010_sdio.c @@ -1041,7 +1041,7 @@ static int ks7010_sdio_probe(struct sdio_func *func, priv->dev_state = DEVICE_STATE_BOOT; - priv->wq = create_workqueue("wq"); + priv->wq = alloc_workqueue("wq", WQ_MEM_RECLAIM, 1); if (!priv->wq) { netdev_err(priv->net_dev, "create_workqueue failed !!\n"); goto err_free_netdev;