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>
This commit is contained in:
George Cherian 2014-07-16 18:37:06 +05:30 • committed by Felipe Balbi
commit 30fef1a97f