Revert "USB: gadget: Allow function access to device ID data during bind()"
authorGreg Kroah-Hartman <gregkh@suse.de>
Thu, 16 Dec 2010 23:52:30 +0000 (15:52 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 16 Dec 2010 23:52:30 +0000 (15:52 -0800)
commitdbb442b85a1d82f91cfe0524c4f9b3a5196a10ca
treebdaac6788b68e90fe3fce8ba8ece07329da819ad
parentecc1624a2fff45780959efbcb73ace18fdb3c58d
Revert "USB: gadget: Allow function access to device ID data during bind()"

This reverts commit 1ab83238740ff1e1773d5c13ecac43c60cf4aec4.

Turns out this doesn't allow for the device ids to be overridden
properly, so we need to revert the thing.

Reported-by: Jef Driesen <jefdriesen@telenet.be>
Cc: Robert Lukassen <Robert.Lukassen@tomtom.com>
Cc: stable <stable@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/gadget/composite.c