Re: [PATCH 1/2] usb: dwc3: exynos: Use of_platform API to create dwc3 core pdev

2013-03-14 Thread Vivek Gautam
On Thu, Mar 14, 2013 at 4:21 PM, Felipe Balbi wrote: > Hi, > > On Thu, Mar 14, 2013 at 04:14:57PM +0530, Vivek Gautam wrote: >> @@ -170,7 +155,6 @@ static int dwc3_exynos_remove(struct platform_device >> *pdev) >> { >> struct dwc3_exynos *exynos = platform_get_drvdata(pdev); >> >> -

Re: [PATCH 1/2] usb: dwc3: exynos: Use of_platform API to create dwc3 core pdev

2013-03-14 Thread Felipe Balbi
Hi, On Thu, Mar 14, 2013 at 04:14:57PM +0530, Vivek Gautam wrote: > @@ -170,7 +155,6 @@ static int dwc3_exynos_remove(struct platform_device > *pdev) > { > struct dwc3_exynos *exynos = platform_get_drvdata(pdev); > > - platform_device_unregister(exynos->dwc3); don't you want to

[PATCH 1/2] usb: dwc3: exynos: Use of_platform API to create dwc3 core pdev

2013-03-14 Thread Vivek Gautam
Used of_platform_populate() to create dwc3 core platform_device from device tree data. Additionally some cleanup is also done. Signed-off-by: Vivek Gautam CC: Felipe Balbi CC: Kukjin Kim --- drivers/usb/dwc3/dwc3-exynos.c | 46 +--- 1 files changed, 15 ins