mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-22 20:23:57 +08:00
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>
This commit is contained in:
parent
61b7a28428
commit
0a0bd35518
@ -168,7 +168,7 @@ static const char *synth_immediate(struct spk_synth *synth, const char *buf)
|
|||||||
udelay(70);
|
udelay(70);
|
||||||
buf++;
|
buf++;
|
||||||
}
|
}
|
||||||
return 0;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void do_catch_up(struct spk_synth *synth)
|
static void do_catch_up(struct spk_synth *synth)
|
||||||
|
Loading…
Reference in New Issue
Block a user