]> git.baikalelectronics.ru Git - kernel.git/commit
cyclades: push down tty_port_tty_get
authorJiri Slaby <jslaby@suse.cz>
Thu, 3 Jan 2013 14:53:08 +0000 (15:53 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 16 Jan 2013 06:43:15 +0000 (22:43 -0800)
commit6d4e4de60f876e9756979b4561cae3254275c5d1
tree417c0165f0caee36a0060f03bc6ca171585c7962
parent48be5d5439ddbf038d8f01d49cc5b7eb64503bd6
cyclades: push down tty_port_tty_get

Now, the tty is not needed at all places in the ISR. So we can just
request in on demand when really needed.

This cleans TX and RX paths a bit as the indentation level can be
dropped by two now when we also invert the char_count if condition.

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/cyclades.c