staging/fwserial: Destruct embedded tty_port on teardown
authorPeter Hurley <peter@hurleysoftware.com>
Wed, 28 Nov 2012 02:37:11 +0000 (21:37 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 28 Nov 2012 16:45:17 +0000 (08:45 -0800)
commita321846492f9ce3bab27f826e6579217fbc35732
treec5a32733f5de4bb88c68ba32b188decba85ef004
parenteef6e7b286e6dcf39a9b8c1d31477ee489451a8a
staging/fwserial: Destruct embedded tty_port on teardown

For TTY drivers that manage the port lifetime, the tty_port should
to be specifically destructed when the port lifetime ends. Now that
a method has been added to do this, use it.

Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
Cc: Jiri Slaby <jslaby@suse.cz>
Cc: Alan Cox <alan@linux.intel.com>
drivers/staging/fwserial/fwserial.c