[PATCH v6 1/3] usb: dwc3: add ST dwc3 glue layer to manage dwc3 HC
From: Felipe Balbi <hidden>
Date: 2014-09-05 15:53:59
Also in:
linux-devicetree, linux-omap, lkml
From: Felipe Balbi <hidden>
Date: 2014-09-05 15:53:59
Also in:
linux-devicetree, linux-omap, lkml
On Fri, Sep 05, 2014 at 10:47:01AM -0500, Felipe Balbi wrote:
Hi, On Fri, Sep 05, 2014 at 04:36:30PM +0100, Peter Griffin wrote:quoted
+static int st_dwc3_remove_child(struct device *dev, void *c) +{ + struct platform_device *pdev = to_platform_device(dev); + + of_device_unregister(pdev); + + return 0; +} + +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);same as before, of_platform_depopulate(). I can fix this one myself this time.
it's in my testign/next branch, please make sure it looks alright. -- balbi -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20140905/ade2aab3/attachment.sig>