Re: [PATCH] mfd: Convert Intel MSIC driver to use devm_* interfaces.

From: Samuel Ortiz
Date: Mon Apr 16 2012 - 12:43:47 EST


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@xxxxxxxxx>
> Cc: Mika Westerberg <mika.westerberg@xxxxxxxxxxxxxxx>
> ---
> 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/
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/