summaryrefslogtreecommitdiffstats
path: root/drivers/usb/serial/kl5kusb105.c
diff options
context:
space:
mode:
authorJohan Hovold <jhovold@gmail.com>2013-03-21 12:36:18 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-03-25 13:39:22 -0700
commit4cba98ff877043aeb92e86102b0250b312ddf017 (patch)
tree7343a46225084216ca27feffd092e31569583407 /drivers/usb/serial/kl5kusb105.c
parentafc2c9a2c359c850cea097c60a5f2b596efbbd88 (diff)
downloadblackbird-obmc-linux-4cba98ff877043aeb92e86102b0250b312ddf017.tar.gz
blackbird-obmc-linux-4cba98ff877043aeb92e86102b0250b312ddf017.zip
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 <jhovold@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/serial/kl5kusb105.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud