From: Johan Hovold Date: Thu, 21 Mar 2013 11:36:18 +0000 (+0100) Subject: USB: ftdi_sio: remove obsolete port data refcounting X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~135^2~208 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4cba98ff877043aeb92e86102b0250b312ddf017;p=pandora-kernel.git USB: ftdi_sio: remove obsolete port data refcounting Remove the port data refcounting and release the private data explicitly at port remove. The port data refcounting was used to make sure the port data was not freed until the last tty reference was closed. Since moving over to tty ports, the underlying assumptions are no longer valid as close is now called as part of tty port shutdown, which can occur before the final tty reference is dropped on device disconnect. This means that the private port data refcounting is now completely useless, as the last reference will always be dropped on port_remove. Signed-off-by: Johan Hovold Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed