[PATCH 11/53] remoteproc: stm32: Switch to create*_workqueue2()

From: Bart Van Assche
Date: Sun Jun 30 2024 - 18:32:16 EST


Prepare for removal of the create*_workqueue() macros.

Signed-off-by: Bart Van Assche <bvanassche@xxxxxxx>
---
drivers/remoteproc/stm32_rproc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/remoteproc/stm32_rproc.c b/drivers/remoteproc/stm32_rproc.c
index 88623df7d0c3..5af6fdc6881c 100644
--- a/drivers/remoteproc/stm32_rproc.c
+++ b/drivers/remoteproc/stm32_rproc.c
@@ -867,7 +867,7 @@ static int stm32_rproc_probe(struct platform_device *pdev)
rproc->state = RPROC_DETACHED;

rproc->has_iommu = false;
- ddata->workqueue = create_workqueue(dev_name(dev));
+ ddata->workqueue = create_workqueue2("%s", dev_name(dev));
if (!ddata->workqueue) {
dev_err(dev, "cannot create workqueue\n");
ret = -ENOMEM;