usb: dwc3: omap: use device_for_each_child to handle child removal
authorKishon Vijay Abraham I <kishon@ti.com>
Fri, 25 Jan 2013 03:00:45 +0000 (08:30 +0530)
committerFelipe Balbi <balbi@ti.com>
Fri, 25 Jan 2013 07:15:06 +0000 (09:15 +0200)
commit94c6a436f606836dcb1ba0156757cea7f17a2102
treed608f7842f4a2e7c9c6c7ca5d077fb62ac2deecb
parentfe29db8fb22f5aa67af4bf30b85a0451c989a88b
usb: dwc3: omap: use device_for_each_child to handle child removal

Used device_for_each_child() to handle child device (dwc3 core) removal
during devexit of dwc3 omap. This is in preparation for creating the child
devices from subnode of dwc3 omap glue using of_platform_populate.

Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/dwc3/dwc3-omap.c