]> git.karo-electronics.de Git - linux-beck.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)
commit025b431b0ed3d4d3363427661c53ed8b60487a44
tree5da577c7e065f0d915c5f3479674dbf85ca3b8f0
parentd2f0cf89ca2deca59cc4ca0c80c14100831428db
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