]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commited93bcfcfaff71e908978788b1a3c323760d2884
tree6f9dd4e2fb702397942a15841e9cf9dead814301
parentbc1364c07f05c159bd782128b94b1cecfd5d6245
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