commit | 6d443d8499e4e59ffb949759cdded32730f8d2f6 | [log] [tgz] |
---|---|---|
author | Eric W. Biederman <ebiederm@xmission.com> | Fri Jan 13 21:32:06 2012 -0800 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Tue Jan 24 12:08:35 2012 -0800 |
tree | 730339226a8fe9ea620a11da276cd2a32d448892 | |
parent | 52a749992ca6a0fd304609af40ed3bfd6cef4660 [diff] |
usb: io_ti: Make edge_remove_sysfs_attrs the port_remove method. 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> Cc: stable <stable@vger.kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>