]> git.baikalelectronics.ru Git - kernel.git/commit
usb: dwc3: omap: add dwc3_omap_extcon_register function
authorGeorge Cherian <george.cherian@ti.com>
Wed, 16 Jul 2014 13:07:08 +0000 (18:37 +0530)
committerFelipe Balbi <balbi@ti.com>
Wed, 16 Jul 2014 14:57:11 +0000 (09:57 -0500)
commit500c7073427e050ce108f0c68cbb177db99f6707
tree5da577c7e065f0d915c5f3479674dbf85ca3b8f0
parentcee44caa6e02663ff6896421f940dcf2771385f2
usb: dwc3: omap: add dwc3_omap_extcon_register function

Move the extcon related code to its own 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