On Thu, Oct 07, 2010 at 09:22:06AM +0530, Rahul Ruikar wrote: > Fix for following cases > - Call device_unregister() only when device_register() succeeds. > - Call put_device() when device_register() fails. > - Call device_remove_file() only when device_create_file() succeeds. > > Signed-off-by: Rahul Ruikar <rahul.ruikar@xxxxxxxxx> > --- > drivers/usb/gadget/langwell_udc.c | 14 +++++++++++--- > drivers/usb/gadget/langwell_udc.h | 4 +++- > 2 files changed, 14 insertions(+), 4 deletions(-) This patch doesn't apply at all to my tree. Can you redo it against the latest linux-next release? thanks, greg k-h -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html