]> git.karo-electronics.de Git - linux-beck.git/commitdiff
Staging: speakup/speakup_dtlk: Return NULL instead of 0
authorSachin Kamat <sachin.kamat@linaro.org>
Wed, 22 May 2013 09:07:21 +0000 (14:37 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 22 May 2013 22:35:38 +0000 (15:35 -0700)
The function returns a pointer. Hence return NULL instead of 0.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/speakup/speakup_dtlk.c

index a965378a767eef254a96148ff8e4d2c7311e98a9..1feb0fba1b436bbe13ee619c296f434895c7dda6 100644 (file)
@@ -254,7 +254,7 @@ static const char *synth_immediate(struct spk_synth *synth, const char *buf)
                spk_out(ch);
                buf++;
        }
-       return 0;
+       return NULL;
 }
 
 static void synth_flush(struct spk_synth *synth)