summaryrefslogtreecommitdiffstats
path: root/include/linux/usb/gadget.h
diff options
context:
space:
mode:
authorFelipe Balbi <balbi@ti.com>2011-06-13 18:43:59 +0300
committerGreg Kroah-Hartman <gregkh@suse.de>2011-07-01 14:31:05 -0700
commit199e7edbb1b32d237ade354fee24eef5e2cbeb18 (patch)
treec9bfce928e5832db343aed218b0173c3ed11d65f /include/linux/usb/gadget.h
parent877c1f5408a94cd8a0fa1de4e4806830c1839e8d (diff)
downloadtalos-op-linux-199e7edbb1b32d237ade354fee24eef5e2cbeb18.tar.gz
talos-op-linux-199e7edbb1b32d237ade354fee24eef5e2cbeb18.zip
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>
Diffstat (limited to 'include/linux/usb/gadget.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud