serial: etraxfs-uart: Convert to uart_console_device instead of open-coded
authorAxel Lin <axel.lin@ingics.com>
Sun, 28 Jun 2015 01:46:43 +0000 (09:46 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 23 Jul 2015 22:24:12 +0000 (15:24 -0700)
commite9bb4b510046d41e3e5a4adc56c76ec8d6812962
tree7f684c1fdb80f81377b3927b40441c6d77ccf2dd
parent5bac4b3d2592c281a9b2614070140b116bd0b0a9
serial: etraxfs-uart: Convert to uart_console_device instead of open-coded

The implementation of cris_console_device() is exactly the same as
uart_console_device(), so let's switch to use uart_console_device().

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Acked-by: Niklas Cassel <nks@flawful.org>
Acked-by: Jesper Nilsson <jesper.nilsson@axis.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/etraxfs-uart.c