linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: grant.likely@secretlab.ca (Grant Likely)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] lib: devres: add convenience function to remap a resource
Date: Wed, 26 Oct 2011 14:35:47 +0200	[thread overview]
Message-ID: <CACxGe6st52znT6EPWDoUFE0Pvmr+CodqHCp-D7egZNy2eQL+0g@mail.gmail.com> (raw)
In-Reply-To: <20111026121706.GC23457@suse.de>

On Wed, Oct 26, 2011 at 2:17 PM, Greg KH <gregkh@suse.de> wrote:
> On Tue, Oct 25, 2011 at 08:35:38AM -0700, Tejun Heo wrote:
>> On Tue, Oct 25, 2011 at 03:16:47PM +0200, Wolfram Sang wrote:
>> > Almost every platform_driver does the three steps get_resource,
>> > request_mem_region, ioremap. This does not only lead to a lot of code
>> > duplication, but also a huge number of similar error strings and
>> > inconsistent error codes on failure. So, introduce a helper function
>> > which simplifies remapping a resource and make it hard to do something
>> > wrong and add documentation for it.
>> >
>> > Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
>> > Cc: Grant Likely <grant.likely@secretlab.ca>
>> > Cc: Tejun Heo <tj@kernel.org>
>> > Cc: Greg KH <gregkh@suse.de>
>>
>> ?Acked-by: Tejun Heo <tj@kernel.org>
>>
>> Greg, can you please take this one?
>
> Ok, I'll queue it up after the 3.2 merge window is over, for the 3.3
> release.

You can add my a-b on this one too.

Acked-by: Grant Likely <grant.likely@secretlab.ca>

g.

      reply	other threads:[~2011-10-26 12:35 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-25 13:16 [PATCH] lib: devres: add convenience function to remap a resource Wolfram Sang
2011-10-25 15:35 ` Tejun Heo
2011-10-26 12:17   ` Greg KH
2011-10-26 12:35     ` Grant Likely [this message]

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=CACxGe6st52znT6EPWDoUFE0Pvmr+CodqHCp-D7egZNy2eQL+0g@mail.gmail.com \
    --to=grant.likely@secretlab.ca \
    --cc=linux-arm-kernel@lists.infradead.org \
    /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;
as well as URLs for NNTP newsgroup(s).