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)
commit106101303eda8f93c65158e5d72b2cc6088ed034
tree6bc52c3ffb461d05b491ae46fc29cdf4a3518167
parent8cc6b422fc4b32a91810e16548353fc3eba39b13
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