From: Sachin Kamat Date: Mon, 13 May 2013 10:00:41 +0000 (+0530) Subject: Staging: speakup: Return NULL instead of 0 in speakup_decpc.c X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=6eb178cebb5b380377033a972a9803adb5a58ede;p=linux-beck.git Staging: speakup: Return NULL instead of 0 in speakup_decpc.c The function returns a pointer. Hence return NULL instead of 0. Signed-off-by: Sachin Kamat Acked-by: Samuel Thibault Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/speakup/speakup_decpc.c b/drivers/staging/speakup/speakup_decpc.c index b50388fd4f08..ea6b72d40b31 100644 --- a/drivers/staging/speakup/speakup_decpc.c +++ b/drivers/staging/speakup/speakup_decpc.c @@ -444,7 +444,7 @@ static const char *synth_immediate(struct spk_synth *synth, const char *buf) return buf; buf++; } - return 0; + return NULL; } static int synth_probe(struct spk_synth *synth)