]> git.kernelconcepts.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:26:56 +0000 (09:26 -0800)
commit881bec2f23410ae6f6074469f3ce0daaf93f72c1
treed982468290053513186b6184eecb24b122879292
parent89b6c4ea1a545908809604812e23a7f83ba782e8
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