OSDN Git Service

serial: pic32_uart: Use uart_console() helper
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 11 Mar 2020 09:00:27 +0000 (11:00 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 12 Mar 2020 09:00:22 +0000 (10:00 +0100)
commitcfb7bdfc69782717f83657d9d888e84961dfc5ad
tree6f9dd4e2fb702397942a15841e9cf9dead814301
parent4cbd7814bbd595061fcb6d6355d63f04179161cd
serial: pic32_uart: Use uart_console() helper

Use uart_console() helper in instead of open coded variant.

Note, SERIAL_CORE_CONSOLE is selected by SERIAL_PIC32_CONSOLE,
thus no functional changes expected.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20200311090027.64441-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/pic32_uart.c