]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita81814f2bf92662414a803c56a9f144f732fc039
treed608f7842f4a2e7c9c6c7ca5d077fb62ac2deecb
parentea25581e52a9fcc034f164ca818bf9f6e6637c89
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