]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitbed44c47866b5c7c607b03e85247831a734cd199
tree7f684c1fdb80f81377b3927b40441c6d77ccf2dd
parent1e5c889bb7f993658a2dfc6bc76a13874399d4de
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