]> git.karo-electronics.de Git - linux-beck.git/commitdiff
Staging: speakup/speakup_acntpc: Return NULL instead of 0
authorSachin Kamat <sachin.kamat@linaro.org>
Wed, 22 May 2013 09:07:20 +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_acntpc.c

index 87a508df7efb6beb0f604b00ed201bc2cb356b21..80141aca712f99039a7584d7b15f0201ce5c953c 100644 (file)
@@ -166,7 +166,7 @@ static const char *synth_immediate(struct spk_synth *synth, const char *buf)
                outb_p(ch, speakup_info.port_tts);
                buf++;
        }
-       return 0;
+       return NULL;
 }
 
 static void do_catch_up(struct spk_synth *synth)