lkml.org 
[lkml]   [2012]   [Apr]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] mfd: Convert Intel MSIC driver to use devm_* interfaces.
Hi Pasi,

On Thu, Apr 12, 2012 at 12:40:37PM +0300, Pasi Savanainen wrote:
> The devm_* functions eliminate the need for manual resource releasing
> and simplify error handling. Resources allocated by devm_* are freed
> automatically on driver detach.
>
> Signed-off-by: Pasi Savanainen <ext-pasi.m.savanainen@gmail.com>
> Cc: Mika Westerberg <mika.westerberg@linux.intel.com>
> ---
> drivers/mfd/intel_msic.c | 31 +++++--------------------------
> 1 files changed, 5 insertions(+), 26 deletions(-)
Thanks, patch applied.

Cheers,
Samuel.

--
Intel Open Source Technology Centre
http://oss.intel.com/


\
 
 \ /
  Last update: 2012-04-16 18:47    [W:0.035 / U:0.356 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site