diff options
author | Ming Lei <tom.leiming@gmail.com> | 2010-07-28 14:33:28 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-08-10 21:35:44 (GMT) |
commit | 185c9bcfde628f1d71aefd34517252cce4c4a57a (patch) | |
tree | feeda7617f406baca34fedb74ddbc29d062ea296 /fs/nls/nls_euc-jp.c | |
parent | f2402f21caba2aceebbf637458b777300669020f (diff) | |
download | linux-185c9bcfde628f1d71aefd34517252cce4c4a57a.tar.xz |
USB: ehci: fix remove of ehci debugfs dir
The patch below on gregkh tree only creates 'lpm' file under
ehci->debug_dir, but not removes it when unloading module,
USB: EHCI: EHCI 1.1 addendum: preparation
which can make loading of ehci-hcd module failed after unloading it.
This patch replaces debugfs_remove with debugfs_remove_recursive
to remove ehci debugfs dir and files. It does fix the bug above,
and may simplify the removing procedure.
Also, remove the debug_registers, debug_async and debug_periodic
field from ehci_hcd struct since they are useless now.
Signed-off-by: Ming Lei <tom.leiming@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'fs/nls/nls_euc-jp.c')
0 files changed, 0 insertions, 0 deletions