diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-05-13 16:08:55 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-05-16 16:17:30 -0700 |
commit | 4e595c0d23ff7bf3ae738c3ed563162fcc20678e (patch) | |
tree | 2ce709a9675b2261e6a9f8e2d9659c7e2455c84f /drivers/staging/speakup | |
parent | 15ab600ce34a51e1cbcd3446dd21b67473e1f79e (diff) | |
download | linux-4e595c0d23ff7bf3ae738c3ed563162fcc20678e.tar.gz linux-4e595c0d23ff7bf3ae738c3ed563162fcc20678e.tar.bz2 linux-4e595c0d23ff7bf3ae738c3ed563162fcc20678e.zip |
Staging: speakup: Fix return value in synth.c
The function return type is a pointer. Hence return NULL instead
of 0.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Acked-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/speakup')
-rw-r--r-- | drivers/staging/speakup/synth.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/speakup/synth.c b/drivers/staging/speakup/synth.c index e2d84c090d64..0b3549bd909d 100644 --- a/drivers/staging/speakup/synth.c +++ b/drivers/staging/speakup/synth.c @@ -157,7 +157,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); |