USB: Fixed bug in endpoint release function.
authorSarah Bailey <saharabeara@gmail.com>
Thu, 4 Jan 2007 05:37:22 +0000 (21:37 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 5 Jan 2007 20:19:09 +0000 (12:19 -0800)
commitc07be136a883a148a16ce4cd91163035631b37ea
treed4ab4f8279e93593b551e96e172899b7e6594930
parent684a0e70008934dbdf87ed35e29ccbb58e91f8dc
USB: Fixed bug in endpoint release function.

Error handling in usb_create_ep_files() is not correct unless
the minor number is freed in ep_device_release().

Signed-off-by: Sarah Bailey <saharabeara@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/core/endpoint.c