• David Brownell's avatar
    ehci-omap: (mostly) cosmetic cleanups · 311c4190
    David Brownell authored
    Various cleanups to the OMAP EHCI bus glue:
    
     - Whitespace fixes.
    
     - Busy-wait loops should really have timeouts, but lacking
       that ... at least cpu_relax() in the body.
    
     - Debug messages should end with newlines, so they don't
       break the next message; should not embed newlines; and
       should otherwise be clean and correctly spelled.
    
     - The probe() method should have initialized the SBRN value,
       so the driver didn't report "USB 0.0 started".
    
     - The MODULE_ALIAS() was missing its "platform:" prefix;
       doing it right means the module could hotplug/coldplug.
    
    No real functional change except for the hotplug/coldplug thing.
    Signed-off-by: default avatarDavid Brownell <dbrownell@users.sourceforge.net>
    Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
    311c4190
ehci-omap.c 17 KB