[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CACxGe6st52znT6EPWDoUFE0Pvmr+CodqHCp-D7egZNy2eQL+0g@mail.gmail.com>
Date: Wed, 26 Oct 2011 14:35:47 +0200
From: Grant Likely <grant.likely@...retlab.ca>
To: Greg KH <gregkh@...e.de>
Cc: Tejun Heo <tj@...nel.org>, Wolfram Sang <w.sang@...gutronix.de>,
linux-kernel@...r.kernel.org, linux-arm-kernel@...ts.infradead.org
Subject: Re: [PATCH] lib: devres: add convenience function to remap a resource
On Wed, Oct 26, 2011 at 2:17 PM, Greg KH <gregkh@...e.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@...gutronix.de>
>> > Cc: Grant Likely <grant.likely@...retlab.ca>
>> > Cc: Tejun Heo <tj@...nel.org>
>> > Cc: Greg KH <gregkh@...e.de>
>>
>> Acked-by: Tejun Heo <tj@...nel.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@...retlab.ca>
g.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists