tty: mxser: use the tty_port_open method
authorAlan Cox <alan@linux.intel.com>
Mon, 30 Nov 2009 13:17:35 +0000 (13:17 +0000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 11 Dec 2009 23:18:07 +0000 (15:18 -0800)
commit6769140d304731f0a3b177470a2adb4bacd9036b
tree365b66a3b9a21cd0240c8355fc74a0c791a0ed66
parent6ed847d8efd08658ece10c9129cd511c8d7452cd
tty: mxser: use the tty_port_open method

At first this looks a fairly trivial conversion but we can't quite push
everything into the right format yet. The open side is easy but care is needed
over the setserial methods. Fix up the locking now that we've adopted the
port->mutex locking rule for the initialization.

Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/char/mxser.c