TTY: simserial, stop using serial_state->{line,icount}
authorJiri Slaby <jslaby@suse.cz>
Mon, 5 Mar 2012 13:52:30 +0000 (14:52 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 8 Mar 2012 20:48:26 +0000 (12:48 -0800)
commit98e3a9e6dd99f1b8ac2a03b8b4942eec16ef911b
tree7c1c4e0e3d37c5e3f9105298f020f825f15e4dce
parentd88405d44fd30fcbe77a9db540afd8823b30afdc
TTY: simserial, stop using serial_state->{line,icount}

* instead of line, use tty->index or an iterator
* icount is not made public, only the tx path increments it

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
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