usb: gadget: dummy_hdc: prepare for multiple instances
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>
Tue, 30 Oct 2012 11:53:17 +0000 (12:53 +0100)
committerFelipe Balbi <balbi@ti.com>
Wed, 31 Oct 2012 13:16:47 +0000 (15:16 +0200)
This patch replaces the single pdev variable by an array. One change:
The device id is no longer -1 (i.e. none) but 0.
This is prepation work for multiple instances of the dummy_hcd + udc
which should help to test gadget framework with multiple UDCs.

Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/dummy_hcd.c

Simple merge