]> 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)
commitd1a11bbb5dd6b1334c663dbf09d6d5b9deac8f21
tree3052c12d01f3b33dfd7b8d4b3a510e4492d4a5ba
parentdf10a343fd1fec4d28b642b420e8b46aea6335e2
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