From: Johan Hovold Date: Wed, 25 Apr 2012 13:56:32 +0000 (+0200) Subject: USB: serial: fix interface data use X-Git-Tag: v3.5-rc1~149^2~314 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bdce6612a0562e64acec92bbf6dce567609f5867;p=pandora-kernel.git 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-diff-tree failed