OSDN Git Service

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)
commit30fef1a97fb6551abb50b5208993726b878fe40f
tree3052c12d01f3b33dfd7b8d4b3a510e4492d4a5ba
parentca632a0d2fec10e62377a78a424d68c90f2e4345
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