Re: [PATCH] usb: host: uhci-grlib.c : use devm_ functions

2014-06-10 Thread Andreas Larsson
On 2014-06-08 10:12, Himangi Saraogi wrote: The various devm_ functions allocate memory that is released when a driver detaches. This patch uses devm_ioremap_resource for data that is allocated in the probe function of a platform device and is only freed in the remove function. The corresponding

Re: [PATCH] usb: host: uhci-grlib.c : use devm_ functions

2014-06-08 Thread Sam Ravnborg
On Sun, Jun 08, 2014 at 01:42:13PM +0530, Himangi Saraogi wrote: > The various devm_ functions allocate memory that is released when a > driver detaches. This patch uses devm_ioremap_resource for data > that is allocated in the probe function of a platform device and > is only freed in the remove f