]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
musb_hdrc: Minor cleanups involving name changes
authorDavid Brownell <dbrownell@users.sourceforge.net>
Fri, 23 Mar 2007 13:55:40 +0000 (09:55 -0400)
committerTony Lindgren <tony@atomide.com>
Fri, 23 Mar 2007 13:55:40 +0000 (09:55 -0400)
commit8b63229c3a24dcee92e43cd17ff4e70393040a3f
tree1e1c5cf02c185ff4092376a828a040e6a0d9fb91
parentfceaff4d5f21a8220c8abb2c5e2875125e94e571
musb_hdrc: Minor cleanups involving name changes

Minor cleanups involving name changes, primarily on the peripheral side:

 - musb->bMayWakeup becomes may_wakeup (camelcase bad)
 - musb->bIsSelfPowered becomes is_self_powered (camelcase bad)
 - pThis (as parameter or variable) becomes musb (camelcase bad)
 - tusb_set_power becomes tusb_draw_power (more meaningful name)
 - tusb_set_vbus becomes tusb_source_power (more meaningful name)

Also, add a flag to track if a B-Peripheral device draws any VBUS power
(currently only tusb6010 can set that).

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
drivers/usb/musb/g_ep0.c
drivers/usb/musb/musb_gadget.c
drivers/usb/musb/musbdefs.h
drivers/usb/musb/tusb6010.c