• Felipe Balbi's avatar
    usb: gadget: chips: remove ifdef trickery · 199e7edb
    Felipe Balbi authored
    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: default avatarFelipe Balbi <balbi@ti.com>
    Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
    199e7edb
gadget_chips.h 4.86 KB