diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-05-22 14:37:21 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-05-22 15:35:38 -0700 |
commit | 61b7a284281bc555054fa15a6571d4bebb89d9c2 (patch) | |
tree | 42cc0bc5b331327f72b180f68da91a92fa23b924 /drivers/staging/speakup | |
parent | dbbe68636848ca30bc82876dcdfa4d63806df92f (diff) | |
download | linux-61b7a284281bc555054fa15a6571d4bebb89d9c2.tar.gz linux-61b7a284281bc555054fa15a6571d4bebb89d9c2.tar.bz2 linux-61b7a284281bc555054fa15a6571d4bebb89d9c2.zip |
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 <sachin.kamat@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/speakup')
-rw-r--r-- | drivers/staging/speakup/speakup_dtlk.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) |