Staging: speakup/speakup_keypc: Return NULL instead of 0
authorSachin Kamat <sachin.kamat@linaro.org>
Wed, 22 May 2013 09:07:22 +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_keypc.c

index 1840ed15a19c4f9ffaab33a03343065a2026054c..2f2fe5eeff63e185f7ccf7e4db22f1308b52a65e 100644 (file)
@@ -168,7 +168,7 @@ static const char *synth_immediate(struct spk_synth *synth, const char *buf)
                udelay(70);
                buf++;
        }
-       return 0;
+       return NULL;
 }
 
 static void do_catch_up(struct spk_synth *synth)