The function return type is a pointer. Hence return NULL instead
of 0.

Signed-off-by: Sachin Kamat <sachin.ka...@linaro.org>
---
 drivers/staging/speakup/synth.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/speakup/synth.c b/drivers/staging/speakup/synth.c
index d867dd9..bd775db 100644
--- a/drivers/staging/speakup/synth.c
+++ b/drivers/staging/speakup/synth.c
@@ -145,7 +145,7 @@ const char *spk_synth_immediate(struct spk_synth *synth, 
const char *buff)
                        return buff;
                buff++;
        }
-       return 0;
+       return NULL;
 }
 EXPORT_SYMBOL_GPL(spk_synth_immediate);
 
-- 
1.7.9.5

_______________________________________________
devel mailing list
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/devel

Reply via email to