]> git.karo-electronics.de Git - karo-tx-linux.git/commit
usb: io_ti: Make edge_remove_sysfs_attrs the port_remove method.
authorEric W. Biederman <ebiederm@xmission.com>
Sat, 14 Jan 2012 05:32:06 +0000 (21:32 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 3 Feb 2012 17:18:59 +0000 (09:18 -0800)
commit74a6015d2ba393187bbfddcc910afb9e239a3e35
tree84542c78f1cd19c1d616469bcd7d0e93e07b71ac
parent06434d3275a9d6ae3ca39f114523f015e003d8ea
usb: io_ti: Make edge_remove_sysfs_attrs the port_remove method.

commit 6d443d8499e4e59ffb949759cdded32730f8d2f6 upstream.

Calling edge_remove_sysfs_attrs from edge_disconnect is too late
as the device has already been removed from sysfs.

Do the simple and obvious thing and make edge_remove_sysfs_attrs
the port_remove method.

Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Reported-by: Wolfgang Frisch <wfpub@roembden.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/serial/io_ti.c