mux: simplfy muxes_realize_done
commitbed3bb9b7e5ee28ebec50c30604cdfd522d6f6e6
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Wed, 14 Dec 2016 11:40:45 +0000 (14 14:40 +0300)
committerMarc-André Lureau <marcandre.lureau@redhat.com>
Thu, 4 May 2017 11:34:41 +0000 (4 15:34 +0400)
tree6eacf8d68d87bcecae55a8bb87a7f796b15e12a6
parent636181352788f7ba570e9055ec9352ba2badb751
mux: simplfy muxes_realize_done

mux_chr_event() already send events to all backends, rename it,
export it, and use it from muxes_realize_done. This should help abstract
away mux implementation.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
chardev/char-mux.c
chardev/char-mux.h
chardev/char.c