lkml.org 
[lkml]   [2014]   [Jun]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v3] usb: host: uhci-grlib.c : use devm_ functions
On Thu, 12 Jun 2014, 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 free functions
> are removed and two labels are done away with. Also, linux/device.h
> is added to make sure the devm_*() routine declarations are
> unambiguously available.
>
> Signed-off-by: Himangi Saraogi <himangi774@gmail.com>
> ---
> Not compile tested due to incompatible architecture.
> v3: pass correct arguments to devm_ioremap_resource

Acked-by: Alan Stern <stern@rowland.harvard.edu>

What happened to the corresponding patch for uhci-platform.c?

Alan Stern



\
 
 \ /
  Last update: 2014-06-12 01:21    [W:0.042 / U:0.884 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site