diff options
author | 2022-08-07 01:56:42 +0300 | |
---|---|---|
committer | 2022-08-30 13:27:55 +0200 | |
commit | e68d545004bd2edda8d8b60145d5dc81b2d5959e (patch) | |
tree | 5f8f5f4152d4a75c67d8ce191c85f8a2db26e4a4 /include/linux/serial_core.h | |
parent | serial: fsl_lpuart: Fix comment typo (diff) | |
download | wireguard-linux-e68d545004bd2edda8d8b60145d5dc81b2d5959e.tar.xz wireguard-linux-e68d545004bd2edda8d8b60145d5dc81b2d5959e.zip |
serial: pic32_uart: Utilize uart_console_enabled()
The serial core already provides a helper to check if the given port
is an enabled console. Utilize it instead of open coded variant.
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20220806225643.40897-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/serial_core.h')
0 files changed, 0 insertions, 0 deletions