On Friday, October 05, 2012 11:35 PM Alan Stern wrote
>
> On Fri, 5 Oct 2012, Jingoo Han wrote:
>
> > The devm_ functions allocate memory that is released when a driver
> > detaches. This makes the code smaller and a bit simpler.
> >
> > Signed-off-by: Jingoo Han
>
> > - hcd->regs = ioremap(h
On Fri, 5 Oct 2012, Jingoo Han wrote:
> The devm_ functions allocate memory that is released when a driver
> detaches. This makes the code smaller and a bit simpler.
>
> Signed-off-by: Jingoo Han
> - hcd->regs = ioremap(hcd->rsrc_start, hcd->rsrc_len);
> + hcd->regs = devm_ioremap(&dev-
The devm_ functions allocate memory that is released when a driver
detaches. This makes the code smaller and a bit simpler.
Signed-off-by: Jingoo Han
---
drivers/usb/host/ohci-s3c2410.c | 14 --
1 files changed, 4 insertions(+), 10 deletions(-)
diff --git a/drivers/usb/host/ohci-s