From: Sachin Kamat Date: Wed, 22 May 2013 09:07:20 +0000 (+0530) Subject: Staging: speakup/speakup_acntpc: Return NULL instead of 0 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=dbbe68636848ca30bc82876dcdfa4d63806df92f;p=linux-beck.git Staging: speakup/speakup_acntpc: Return NULL instead of 0 The function returns a pointer. Hence return NULL instead of 0. Signed-off-by: Sachin Kamat Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/speakup/speakup_acntpc.c b/drivers/staging/speakup/speakup_acntpc.c index 87a508df7efb..80141aca712f 100644 --- a/drivers/staging/speakup/speakup_acntpc.c +++ b/drivers/staging/speakup/speakup_acntpc.c @@ -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)