diff options
author | Pavankumar Kondeti <pkondeti@codeaurora.org> | 2010-12-16 14:32:25 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-12-16 15:45:44 -0800 |
commit | daba58035a044cae75488175a96cc18362a64518 (patch) | |
tree | d32f4ff87fc8d2dbffdf6b3e40830543c2f0f7b2 /kernel/res_counter.c | |
parent | f4ce9084476dc518bfd0f35f62f4bd0a130893e0 (diff) |
USB: gadget: Remove suspended sysfs file before freeing cdev
cdev struct is accessed in suspended sysfs show function. So
remove sysfs file before freeing the cdev in composite_unbind.
Signed-off-by: Pavankumar Kondeti <pkondeti@codeaurora.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'kernel/res_counter.c')
0 files changed, 0 insertions, 0 deletions