usb: gadget: chips: remove ifdef trickery
authorFelipe Balbi <balbi@ti.com>
Mon, 13 Jun 2011 15:43:59 +0000 (18:43 +0300)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 1 Jul 2011 21:31:05 +0000 (14:31 -0700)
commit199e7edbb1b32d237ade354fee24eef5e2cbeb18
treec9bfce928e5832db343aed218b0173c3ed11d65f
parent877c1f5408a94cd8a0fa1de4e4806830c1839e8d
usb: gadget: chips: remove ifdef trickery

the gadget controller number is only used
during bind() to update descriptors and/or
check that a particular controller can support
a particular gadget driver.

Because of that, we can remove the ifdef
trickery as it's a rather small optimization
anyway.

While at that, also sort the entries
alphabetically and add a comment stating we
want to keep the list ordered alphabetically.

Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/gadget/gadget_chips.h