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>
This commit is contained in:
Sachin Kamat 2013-05-13 16:08:55 +05:30 committed by Greg Kroah-Hartman
parent 15ab600ce3
commit 4e595c0d23
1 changed files with 1 additions and 1 deletions

View File

@ -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);