diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-05-22 14:37:20 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-05-22 15:35:38 -0700 |
commit | dbbe68636848ca30bc82876dcdfa4d63806df92f (patch) | |
tree | ff94293637105d1773133a7e1f0305a0db51f58e /drivers | |
parent | 3ab31c7bc5a77719e268f3e2478757a937e4704c (diff) |
Staging: speakup/speakup_acntpc: 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')
-rw-r--r-- | drivers/staging/speakup/speakup_acntpc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/speakup/speakup_acntpc.c b/drivers/staging/speakup/speakup_acntpc.c index 87a508df7efb..80141aca712f 100644 --- a/drivers/staging/speakup/speakup_acntpc.c +++ b/drivers/staging/speakup/speakup_acntpc.c @@ -166,7 +166,7 @@ static const char *synth_immediate(struct spk_synth *synth, const char *buf) outb_p(ch, speakup_info.port_tts); buf++; } - return 0; + return NULL; } static void do_catch_up(struct spk_synth *synth) |