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

Samuel Ortiz
2012-04-16T16:43:50Z

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