]> git.baikalelectronics.ru Git - kernel.git/commit
accessiblity: speakup: Add missing misc_deregister in softsynth_probe
authorZheng Bin <zhengbin13@huawei.com>
Wed, 11 May 2022 03:29:37 +0000 (11:29 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 19 May 2022 16:56:48 +0000 (18:56 +0200)
commit318d110757bbd5975490f87550e677d0e5d70c0f
tree6bc52c3ffb461d05b491ae46fc29cdf4a3518167
parent31b63215feeace9b2b3bb3f1309738cc65c1e249
accessiblity: speakup: Add missing misc_deregister in softsynth_probe

softsynth_probe misses a call misc_deregister() in an error path, this
patch fixes that.

Signed-off-by: Zheng Bin <zhengbin13@huawei.com>
Link: https://lore.kernel.org/r/20220511032937.2736738-1-zhengbin13@huawei.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/accessibility/speakup/speakup_soft.c