serial: 8250: Use defined IER bits
authorIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Fri, 25 Nov 2022 13:05:04 +0000 (15:05 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 19 Jan 2023 14:01:19 +0000 (15:01 +0100)
commitef460db2a7c1df5eda2ea6011e7586e54e23b8c4
tree53d12e58012f85bba12024404485fe71176c45a2
parent98a59cd26e22e34ecae6af769cfc9f3b4ecd6c72
serial: 8250: Use defined IER bits

Instead of literal 0x0f, add a define for enabling all IER bits the
8250 driver is interested in.

Don't make the define for combined flags part of UAPI.

Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Link: https://lore.kernel.org/r/20221125130509.8482-2-ilpo.jarvinen@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/8250_port.c
include/linux/serial.h