[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20140905154700.GE24449@saruman.home>
Date: Fri, 5 Sep 2014 10:47:01 -0500
From: Felipe Balbi <balbi@...com>
To: Peter Griffin <peter.griffin@...aro.org>
CC: <linux-arm-kernel@...ts.infradead.org>,
<linux-kernel@...r.kernel.org>, <balbi@...com>,
<maxime.coquelin@...com>, <patrice.chotard@...com>,
<srinivas.kandagatla@...il.com>, <lee.jones@...aro.org>,
<devicetree@...r.kernel.org>, <linux-usb@...r.kernel.org>,
<linux-omap@...r.kernel.org>, <peppe.cavallaro@...com>
Subject: Re: [PATCH v6 1/3] usb: dwc3: add ST dwc3 glue layer to manage dwc3
HC
Hi,
On Fri, Sep 05, 2014 at 04:36:30PM +0100, Peter Griffin wrote:
> +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.
--
balbi
Download attachment "signature.asc" of type "application/pgp-signature" (820 bytes)
Powered by blists - more mailing lists