Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pinctrl: ocelot: add missing destroy_workqueue() in error path in oce…
…lot_pinctrl_probe() [ Upstream commit 8ada020 ] Using devm_add_action_or_reset() to make workqueue device-managed, so it can be destroy whenever the driver is unbound. Fixes: c297561 ("pinctrl: ocelot: Fix interrupt controller") Signed-off-by: Yang Yingliang <yangyingliang@huawei.com> Reviewed-by: Horatiu Vultur <horatiu.vultur@microchip.com> Link: https://lore.kernel.org/r/20220925021258.1492905-1-yangyingliang@huawei.com Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
- Loading branch information