]> git.baikalelectronics.ru Git - kernel.git/commit
TTY: simserial, use tty_port_open
authorJiri Slaby <jslaby@suse.cz>
Mon, 5 Mar 2012 13:52:37 +0000 (14:52 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 8 Mar 2012 20:48:27 +0000 (12:48 -0800)
commitb0e1387eb562c450e41dcc2a82436b5157b9e30a
treea724bf41cbd92be7b04122c262f75f257814b1e1
parent2c30126fd90e66fc5ed94e391f3a5564f2e7aced
TTY: simserial, use tty_port_open

So now we convert startup to be ->activate of tty_port. This means we
no longer care about INITIALIZED and TTY_IO_ERROR flags.

After we have ->activate much of the code may go as it duplicates what
tty_port_open does. In this case tty_port_open adds block_til_ready to
the path. But we do not define carrier hooks, so it is a noop.

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