From: Sachin Kamat Date: Wed, 22 May 2013 09:07:21 +0000 (+0530) Subject: Staging: speakup/speakup_dtlk: Return NULL instead of 0 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=61b7a284281bc555054fa15a6571d4bebb89d9c2;p=linux-beck.git Staging: speakup/speakup_dtlk: 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_dtlk.c b/drivers/staging/speakup/speakup_dtlk.c index a965378a767e..1feb0fba1b43 100644 --- a/drivers/staging/speakup/speakup_dtlk.c +++ b/drivers/staging/speakup/speakup_dtlk.c @@ -254,7 +254,7 @@ static const char *synth_immediate(struct spk_synth *synth, const char *buf) spk_out(ch); buf++; } - return 0; + return NULL; } static void synth_flush(struct spk_synth *synth)