]> git.openfabrics.org - ~shefty/rdma-dev.git/commit
USB: serial, use tty_standard_install
authorJiri Slaby <jslaby@suse.cz>
Mon, 30 Jan 2012 20:14:29 +0000 (21:14 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 2 Feb 2012 23:00:56 +0000 (15:00 -0800)
commit76f82a7ab3a724791d184e74529e96ad6947a98f
tree9164783e9e53c7178d8ad8b424b77846db7c9b4f
parent66d450e84ec656ec4b774c41cd8d46b3e48d51df
USB: serial, use tty_standard_install

But before that we need to reorder the calls so that we don't need to
lower the reference counts if usb_autopm_get_interface fails.

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Cc: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/serial/usb-serial.c