public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Mika Westerberg <mika.westerberg@linux.intel.com>
To: Pasi Savanainen <ext-pasi.m.savanainen@nokia.com>
Cc: linux-kernel@vger.kernel.org, Samuel Ortiz <sameo@linux.intel.com>
Subject: Re: [PATCH] mfd: Convert Intel MSIC driver to use devm_* interfaces.
Date: Thu, 12 Apr 2012 13:14:04 +0300	[thread overview]
Message-ID: <20120412101404.GD2258@intel.com> (raw)
In-Reply-To: <1334223637-16965-1-git-send-email-ext-pasi.m.savanainen@nokia.com>

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>

Looks good to me.

Acked-by: Mika Westerberg <mika.westerberg@linux.intel.com>

  reply	other threads:[~2012-04-12 10:12 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-12  9:40 [PATCH] mfd: Convert Intel MSIC driver to use devm_* interfaces Pasi Savanainen
2012-04-12 10:14 ` Mika Westerberg [this message]
2012-04-16 16:50 ` Samuel Ortiz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20120412101404.GD2258@intel.com \
    --to=mika.westerberg@linux.intel.com \
    --cc=ext-pasi.m.savanainen@nokia.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=sameo@linux.intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox