TTY: serialP, merge serial_state and async_struct
authorJiri Slaby <jslaby@suse.cz>
Mon, 5 Mar 2012 13:52:20 +0000 (14:52 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 8 Mar 2012 20:28:48 +0000 (12:28 -0800)
commit916b765675b7044bd5895b7430a2aa2c63ea4545
tree55a876c662dc2efa4990984de7f3286cc3371b63
parent13c9062122a8d05e0881ca8bd9037d2e57e56860
TTY: serialP, merge serial_state and async_struct

This is the final step to get rid of the one of the structures.  A
further cleanup will follow. And I struct serial_state deserves cease
to exist after a switch to tty_port too.

While changing the lines, it removes also pointless tty->driver_data
casts.

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Tony Luck <tony.luck@intel.com>
Cc: Fenghua Yu <fenghua.yu@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/ia64/hp/sim/simserial.c
drivers/tty/amiserial.c
include/linux/serialP.h