]> asedeno.scripts.mit.edu Git - linux.git/commit
TTY: 68328serial, use tty_port_block_til_ready
authorJiri Slaby <jslaby@suse.cz>
Mon, 2 Apr 2012 11:54:46 +0000 (13:54 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 9 Apr 2012 19:02:45 +0000 (12:02 -0700)
commit8e32841634958d4927a85b484faf9d2c3c222e4d
tree388a0ffe7224e9981497e04c7ad3ba3801e7c7f3
parent665569d0269be3dd67b768fb65061e1b54bb2faf
TTY: 68328serial, use tty_port_block_til_ready

Since the code is identical, use the tty_port_block_til_ready helper
instead of re-implemented variant.

The code does not perform rtsdts handling, hence we do not need to
provide tty port hooks for them. The default ones will be used
instead. The only necessary thing is to provide tty_port_operations.
It is empty, but has to be there...

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: linux-m68k@lists.linux-m68k.org
Acked-by: Greg Ungerer <gerg@uclinux.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/68328serial.c