diff options
author | Alan Stern <stern@rowland.harvard.edu> | 2009-06-02 15:54:11 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-06-16 04:44:47 (GMT) |
commit | c706ebdfc8955b850e477255a8c0f93f9f14712d (patch) | |
tree | 1f880601cdd2663ee4206783092d5fa9d90c8922 /drivers/serial/8250.h | |
parent | c6994e6f067cf0fc4c6cca3d164018b1150916f8 (diff) | |
download | linux-fsl-qoriq-c706ebdfc8955b850e477255a8c0f93f9f14712d.tar.xz |
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 <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/serial/8250.h')
0 files changed, 0 insertions, 0 deletions