usbcore: fix endpoint device creation
authorAlan Stern <stern@rowland.harvard.edu>
Tue, 10 Oct 2006 15:56:26 +0000 (11:56 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 17 Oct 2006 21:46:32 +0000 (14:46 -0700)
commitd5477c11111467e19787f00d3cab20fb48c2699e
tree58716db7e697cdacec1895fc9803604eddfc775c
parentc40fd5ea565587c05b0e2c49c02cad2c35fd85c6
usbcore: fix endpoint device creation

This patch (as800) straightens out the USB endpoint class device
creation routine, fixing a refcount bug in the process.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/core/endpoint.c