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-Tag: MMI-PSA29.97-13-9~14152^2~498 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=dbbe68636848ca30bc82876dcdfa4d63806df92f;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.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)