commit | daba58035a044cae75488175a96cc18362a64518 | [log] [tgz] |
---|---|---|
author | Pavankumar Kondeti <pkondeti@codeaurora.org> | Thu Dec 16 14:32:25 2010 +0530 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Thu Dec 16 15:45:44 2010 -0800 |
tree | d32f4ff87fc8d2dbffdf6b3e40830543c2f0f7b2 | |
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>