From bdce6612a0562e64acec92bbf6dce567609f5867 Mon Sep 17 00:00:00 2001 From: Johan Hovold Date: Wed, 25 Apr 2012 15:56:32 +0200 Subject: [PATCH] USB: serial: fix interface data use The interface data should not be used as a flag to signal disconnect. Now that all serial drivers use the usb_serial disconnect flag and mutex, we can set the interface data prior to registering the ports and there's no need to clear it at disconnect. This should hopefully also make it more clear that the interface data is not a flag, which could prevent future misuse. Signed-off-by: Johan Hovold Signed-off-by: Greg Kroah-Hartman --- Reading git-format-patch failed