summaryrefslogtreecommitdiffstats
path: root/drivers/staging/speakup/speakup_keypc.c
diff options
context:
space:
mode:
authorSachin Kamat2013-05-22 11:07:22 +0200
committerGreg Kroah-Hartman2013-05-23 00:35:38 +0200
commit0a0bd35518a9c14b73b93dce1c3aa18d496879d7 (patch)
tree833b7c9f2648fb4af6b944cdd9bcb79a0dd5728b /drivers/staging/speakup/speakup_keypc.c
parentStaging: speakup/speakup_dtlk: Return NULL instead of 0 (diff)
downloadkernel-qcow2-linux-0a0bd35518a9c14b73b93dce1c3aa18d496879d7.tar.gz
kernel-qcow2-linux-0a0bd35518a9c14b73b93dce1c3aa18d496879d7.tar.xz
kernel-qcow2-linux-0a0bd35518a9c14b73b93dce1c3aa18d496879d7.zip
Staging: speakup/speakup_keypc: 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/speakup_keypc.c')
-rw-r--r--drivers/staging/speakup/speakup_keypc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/speakup/speakup_keypc.c b/drivers/staging/speakup/speakup_keypc.c
index 1840ed15a19c..2f2fe5eeff63 100644
--- a/drivers/staging/speakup/speakup_keypc.c
+++ b/drivers/staging/speakup/speakup_keypc.c
@@ -168,7 +168,7 @@ static const char *synth_immediate(struct spk_synth *synth, const char *buf)
udelay(70);
buf++;
}
- return 0;
+ return NULL;
}
static void do_catch_up(struct spk_synth *synth)