From: Alan Stern Date: Tue, 2 Jun 2009 15:54:11 +0000 (-0400) Subject: USB: usb-serial: call port_probe and port_remove at the right times X-Git-Tag: v2.6.31-rc1~304^2~46 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c706ebdfc8955b850e477255a8c0f93f9f14712d;p=pandora-kernel.git USB: usb-serial: call port_probe and port_remove at the right times This patch (as1253) prevents the usb-serial core from calling a driver's port_probe and port_remove methods more than once per port. It also removes some unnecessary try_module_get() calls and adds a missing port_remove method call in a failure path. Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed