]> git.baikalelectronics.ru Git - kernel.git/commit
serial: 8250: Use C99 array initializer & define UART_REG_UNMAPPED
authorIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Fri, 24 Jun 2022 20:54:22 +0000 (23:54 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 27 Jun 2022 12:41:31 +0000 (14:41 +0200)
commit20f43be63dba7e7e864cc48c098292ed9244a9a7
treefe5a7e02ff0efd16569cff49928e9014dd9488a6
parenta9bc78d8c871b680edfd2786c079e5862366eff8
serial: 8250: Use C99 array initializer & define UART_REG_UNMAPPED

Use C99 array initializer insteads of comments and make unmapped checks
more obvious.

Reviewed-by: Jiri Slaby <jirislaby@kernel.org>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Link: https://lore.kernel.org/r/20220624205424.12686-5-ilpo.jarvinen@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/8250_port.c