staging: speakup: Fix a typo error print for softsynthu device
authorZhenzhong Duan <zhenzhong.duan@gmail.com>
Thu, 5 Mar 2020 07:21:51 +0000 (15:21 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 10 Mar 2020 09:51:20 +0000 (10:51 +0100)
When softsynthu device fails the register, "/dev/softsynthu" should be
printed instead of "/dev/softsynth".

Signed-off-by: Zhenzhong Duan <zhenzhong.duan@gmail.com>
Reviewed-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Cc: William Hubbs <w.d.hubbs@gmail.com>
Cc: Chris Brannon <chris@the-brannons.com>
Cc: Kirk Reiser <kirk@reisers.ca>
Link: https://lore.kernel.org/r/20200305072151.403-1-zhenzhong.duan@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/speakup/speakup_soft.c

index 9d85a3a1af4c5eadef475ffd20e39e66612955dc..28cedaec6d8a25a3173f32ccbf34d25f7af4602b 100644 (file)
@@ -388,7 +388,7 @@ static int softsynth_probe(struct spk_synth *synth)
        synthu_device.name = "softsynthu";
        synthu_device.fops = &softsynthu_fops;
        if (misc_register(&synthu_device)) {
-               pr_warn("Couldn't initialize miscdevice /dev/softsynth.\n");
+               pr_warn("Couldn't initialize miscdevice /dev/softsynthu.\n");
                return -ENODEV;
        }