From: Sachin Kamat Date: Wed, 22 May 2013 09:07:22 +0000 (+0530) Subject: Staging: speakup/speakup_keypc: Return NULL instead of 0 X-Git-Tag: firefly_0821_release~176^2~5845^2~496 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=0a0bd35518a9c14b73b93dce1c3aa18d496879d7;p=firefly-linux-kernel-4.4.55.git Staging: speakup/speakup_keypc: 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_keypc.c b/drivers/staging/speakup/speakup_keypc.c index 1840ed15a19c..2f2fe5eeff63 100644 --- a/drivers/staging/speakup/speakup_keypc.c +++ b/drivers/staging/speakup/speakup_keypc.c @@ -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)