]> git.baikalelectronics.ru Git - kernel.git/commit
usb: dwc3: omap: add dwc3_omap_map_offset() function
authorGeorge Cherian <george.cherian@ti.com>
Wed, 16 Jul 2014 13:07:06 +0000 (18:37 +0530)
committerFelipe Balbi <balbi@ti.com>
Wed, 16 Jul 2014 14:56:49 +0000 (09:56 -0500)
commite1939180c030301a7fb7f341296738c6522d2047
tree3052c12d01f3b33dfd7b8d4b3a510e4492d4a5ba
parentb4ca45ff7b5e305dcb94012a8be195a87f4cf88b
usb: dwc3: omap: add dwc3_omap_map_offset() function

Move map offset to its own separate function.
Improve code readability, decrease the dwc3_probe() size.

Signed-off-by: George Cherian <george.cherian@ti.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/dwc3/dwc3-omap.c