staging: ks7010: fix missing destroy_workqueue() on error in ks7010_sdio_probe
authorQinglang Miao <miaoqinglang@huawei.com>
Wed, 28 Oct 2020 09:15:52 +0000 (17:15 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 6 Nov 2020 10:02:53 +0000 (11:02 +0100)
commitd1e7550ad081fa5e9260f636dd51e1c496e0fd5f
treea52258516792c7700be3e8c224b68b9f0147349b
parent16b37e7ba6fdcedbfb957408a884d3bb44013842
staging: ks7010: fix missing destroy_workqueue() on error in ks7010_sdio_probe

Add the missing destroy_workqueue() before return from
ks7010_sdio_probe in the error handling case.

Signed-off-by: Qinglang Miao <miaoqinglang@huawei.com>
Link: https://lore.kernel.org/r/20201028091552.136445-1-miaoqinglang@huawei.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/ks7010/ks7010_sdio.c