Thread (5 messages) 5 messages, 2 authors, 2014-09-03

Re: [PATCH v5 1/3] usb: dwc3: add ST dwc3 glue layer to manage dwc3 HC

From: Felipe Balbi <hidden>
Date: 2014-09-03 20:16:25
Also in: linux-arm-kernel, linux-omap, lkml

Hi,

On Tue, Sep 02, 2014 at 06:08:47PM +0100, Peter Griffin wrote:
+static int st_dwc3_remove(struct platform_device *pdev)
+{
+	struct st_dwc3 *dwc3_data = platform_get_drvdata(pdev);
+
+	device_for_each_child(&pdev->dev, NULL, st_dwc3_remove_child);
you might want to use of_platform_depopulate() instead :-) Sorry I
didn't notice this earlier.

cheers

-- 
balbi

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help