aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/speakup
diff options
context:
space:
mode:
authorJustin Skists <j.skists@gmail.com>2017-09-06 13:14:25 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-09-17 16:35:25 +0200
commitf38d3104688025b8157cf4e5a4b6fe37f4f7fd66 (patch)
treef28fdafb5698efcffa174433ebff9a0d5a47be43 /drivers/staging/speakup
parentstaging:rtl8188eu:core Fix code Indent (diff)
downloadlinux-dev-f38d3104688025b8157cf4e5a4b6fe37f4f7fd66.tar.xz
linux-dev-f38d3104688025b8157cf4e5a4b6fe37f4f7fd66.zip
staging/speakup: fix checkpatch.pl warning in speak_char()
correct the following warning from checkpatch.pl:- WARNING: Prefer using '"%s...", __func__' to using 'speak_char', this function's name, in a string Signed-off-by: Justin Skists <j.skists@gmail.com> Acked-by: Samuel Thibault <samuel.thibault@ens-lyon.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/speakup')
-rw-r--r--drivers/staging/speakup/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/speakup/main.c b/drivers/staging/speakup/main.c
index 67956e24779c..938a0aed7de5 100644
--- a/drivers/staging/speakup/main.c
+++ b/drivers/staging/speakup/main.c
@@ -447,7 +447,7 @@ static void speak_char(u16 ch)
cp = spk_characters[ch];
if (!cp) {
- pr_info("speak_char: cp == NULL!\n");
+ pr_info("%s: cp == NULL!\n", __func__);
return;
}
if (IS_CHAR(ch, B_CAP)) {