[PATCH 2/6] Staging: speakup/speakup_dtlk: Return NULL instead of 0
Sachin Kamat
sachin.kamat at linaro.org
Wed May 22 09:07:21 UTC 2013
The function returns a pointer. Hence return NULL instead of 0.
Signed-off-by: Sachin Kamat <sachin.kamat at linaro.org>
---
drivers/staging/speakup/speakup_dtlk.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/speakup/speakup_dtlk.c b/drivers/staging/speakup/speakup_dtlk.c
index a965378..1feb0fb 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)
--
1.7.9.5
More information about the devel
mailing list