serial: core: Remove tty port activate() and shutdown() methods
authorPeter Hurley <peter@hurleysoftware.com>
Fri, 31 Jul 2015 20:59:52 +0000 (16:59 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 5 Aug 2015 05:07:23 +0000 (22:07 -0700)
commit9e31364fc3272073ec8c5fac18a3e01d4f013418
tree816beb7a432e52a6b8c899c235d8206c0ee28812
parent6fb98fb3031359af42a6ee6984b477cbcfdca7bd
serial: core: Remove tty port activate() and shutdown() methods

serial core does not use tty_port_open() or tty_port_close(); serial
core defines and extends it's own tty open() and close() methods
(uart_open() and uart_close(), respectively).

Remove the tty_port activate() and shutdown() initializations, and
the uart_port_activate() function, which is never called.

NB: uart_port_shutdown() is used by uart_close() => uart_shutdown()
call chain (but not via the tty_port methods).

Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/serial_core.c