serial: mux: Convert to uart_console_device instead of open-coded
authorAxel Lin <axel.lin@ingics.com>
Sat, 19 Sep 2015 03:43:07 +0000 (11:43 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 4 Oct 2015 16:44:52 +0000 (17:44 +0100)
commit57e7e2a64a49961d2810a6f4f0e1ca2699338ec2
tree9fcb462ecb005ef1291b6e12dd3bb1db6edc52d8
parent740134960811bdeadaf52d6155d8fea97470dcda
serial: mux: Convert to uart_console_device instead of open-coded

The implementation of mux_console_device() is very similar to
uart_console_device(). Setting .data field in mux_console then we can
convert to use uart_console_device().

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/mux.c