serial: core: move UPF_NO_TXEN_TEST to quirks and rename
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 25 Jul 2017 17:39:58 +0000 (20:39 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 30 Jul 2017 14:44:22 +0000 (07:44 -0700)
commitc7ac15ce89242e3c25fcc49fa4d00028285fab05
treec22cb3712ff70f218d5196dc0280446f87e929a6
parenta17e74c533c1be241177c83545e3ec0a39db8a68
serial: core: move UPF_NO_TXEN_TEST to quirks and rename

First 16 bits in the flags field are user-visible except
UPF_NO_TXEN_TEST. To keep it clean we introduce internal quirks and move
UPF_NO_TXEN_TEST to them. Rename the constant to UPQ_NO_TXEN_TEST to
distinguish with port flags. Users are converted accordingly.

The quirks field might be extended later to hold the additional ones.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/8250_core.c
drivers/tty/serial/8250/8250_pci.c
drivers/tty/serial/8250/8250_port.c
include/linux/serial_core.h