staging: speakup: spk_serial_out and spk_wait_for_xmitr to take synth arg

These two functions are always called from a context where spk_synth instance
is available. They also use the spk_synth instance but instead of taking it
as an argument, they rely on a global spk_synth instance inside synth.c which
points to the same synth as the one being passed in as argument.

Signed-off-by: Okash Khawaja <okash.khawaja@gmail.com>
Reviewed-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Okash Khawaja 2017-03-14 13:41:52 +00:00 • committed by Greg Kroah-Hartman
commit 9176d156ca
7 changed files with 29 additions and 29 deletions