Re: [PATCH 07/16] mfd: omap_usb_host: Avoid creating copy of platform_data

2012-11-21 Thread Felipe Balbi
On Thu, Nov 15, 2012 at 04:34:05PM +0200, Roger Quadros wrote: > We can just hold the pointer to the platform data instead > of creating a copy of it. > > Also get rid of the unnecessary missing platform data checks > in runtime_suspend/resume. We are already checking for missing > platform data i

[PATCH 07/16] mfd: omap_usb_host: Avoid creating copy of platform_data

2012-11-15 Thread Roger Quadros
We can just hold the pointer to the platform data instead of creating a copy of it. Also get rid of the unnecessary missing platform data checks in runtime_suspend/resume. We are already checking for missing platform data in probe. Signed-off-by: Roger Quadros --- drivers/mfd/omap-usb-host.c |