commit | 5e99d5458729b0eb763ca83a2fbb95f6276c4243 | [log] [tgz] |
---|---|---|
author | Jiri Slaby <jslaby@suse.cz> | Mon Mar 05 14:52:23 2012 +0100 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Thu Mar 08 12:30:50 2012 -0800 |
tree | 47624b07b38be86dda2a91bacd60e791e37e68c5 | |
parent | 588993dd8d99bdbd9a7296abe0c7964ecc874300 [diff] |
TTY: simserial, pass tty down to functions This avoids pain with tty refcounting and touching tty_port in the future. It allows us to remove some state->tty tests because the tty passed down to them can never be NULL. 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>