parisc: 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)
committerHelge Deller <deller@gmx.de>
Thu, 22 Oct 2015 13:44:28 +0000 (15:44 +0200)
commitaa0bdd2995fb991f0c0f0145303803a0474c93e2
tree41e1426dee15e4848227c3daafd99f235e0f2e49
parent7bc2d40ea690a37eccc2f514c96c56fdcda626b5
parisc: 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: Helge Deller <deller@gmx.de>
drivers/tty/serial/mux.c