USB: serial: ftdi_sio: simplify TIOCSSERIAL flag logic
authorJohan Hovold <johan@kernel.org>
Tue, 6 Jun 2017 10:54:34 +0000 (12:54 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 13 Jun 2017 09:49:58 +0000 (11:49 +0200)
commitf3e8ae657e40354cfb1372555f0d700f50f72ba2
tree782d01925dbffe9703c92ddc15058d91f857edb8
parentdc2f7271593dacaf1ce3b0c57dc657c3221e841c
USB: serial: ftdi_sio: simplify TIOCSSERIAL flag logic

Simplify TIOCSSERIAL flag logic somewhat.

Signed-off-by: Johan Hovold <johan@kernel.org>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Reviewed-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/serial/ftdi_sio.c