]> git.baikalelectronics.ru Git - kernel.git/commit
usb: dwc2: gadget: replace constants with defines
authorMian Yousaf Kaukab <yousaf.kaukab@intel.com>
Fri, 30 Jan 2015 08:09:36 +0000 (09:09 +0100)
committerFelipe Balbi <balbi@ti.com>
Fri, 30 Jan 2015 16:34:11 +0000 (10:34 -0600)
commite7904e86cbd79c5b1c5c24fff13c6949ad69c586
tree48dd330543840c3a445636de369ba35d5f0f44dd
parenta98822041c998e1b035d6867c1fa36e3fcc207d3
usb: dwc2: gadget: replace constants with defines

Defines are more readable and searchable than constants.

Tested-by: Robert Baldyga <r.baldyga@samsung.com>
Acked-by: John Youn <johnyoun@synopsys.com>
Signed-off-by: Mian Yousaf Kaukab <yousaf.kaukab@intel.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/dwc2/gadget.c
drivers/usb/dwc2/hw.h