tty: Replace TTY_IO_ERROR bit tests with tty_io_error()
authorPeter Hurley <peter@hurleysoftware.com>
Sun, 10 Apr 2016 00:06:48 +0000 (17:06 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 30 Apr 2016 16:26:55 +0000 (09:26 -0700)
commit18900ca65a8553edc608b6c9d518eb31e6c09ba1
tree6712f933f9145ce4ad365388817266c0c9ebac68
parent1aabf523a288b09d660992c22e307110c70f746d
tty: Replace TTY_IO_ERROR bit tests with tty_io_error()

Abstract TTY_IO_ERROR status test treewide with tty_io_error().
NB: tty->flags uses atomic bit ops; replace non-atomic bit test
with test_bit().

Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
18 files changed:
arch/ia64/hp/sim/simserial.c
drivers/char/pcmcia/synclink_cs.c
drivers/isdn/i4l/isdn_tty.c
drivers/s390/char/tty3270.c
drivers/staging/dgnc/dgnc_tty.c
drivers/tty/amiserial.c
drivers/tty/mxser.c
drivers/tty/pty.c
drivers/tty/serial/crisv10.c
drivers/tty/serial/serial_core.c
drivers/tty/synclink.c
drivers/tty/synclink_gt.c
drivers/tty/synclinkmp.c
drivers/tty/tty_io.c
drivers/tty/tty_port.c
include/linux/tty.h
net/irda/ircomm/ircomm_tty.c
net/irda/ircomm/ircomm_tty_ioctl.c