Re: [PATCH -next v3] pinctrl: ocelot: add missing destroy_workqueue() in error path in ocelot_pinctrl_probe()

From: Linus Walleij
Date: Tue Oct 04 2022 - 07:46:26 EST


On Sun, Sep 25, 2022 at 4:06 AM Yang Yingliang <yangyingliang@xxxxxxxxxx> wrote:

> Using devm_add_action_or_reset() to make workqueue device-managed, so it can be
> destroy whenever the driver is unbound.
>
> Fixes: c297561bc98a ("pinctrl: ocelot: Fix interrupt controller")
> Signed-off-by: Yang Yingliang <yangyingliang@xxxxxxxxxx>
> ---
> v3:
> Using devm_add_action_or_reset().

Patch applied, after deleting the hunks removing .remove because
that was already gone upstream.

Yours,
Linus Walleij