[PATCH V4 1/5] of: Implement managed of_iomap()

Grant Likely grant.likely at secretlab.ca
Mon Apr 16 13:06:24 EDT 2012


On Mon, Apr 16, 2012 at 10:21 AM, viresh kumar <viresh.linux at gmail.com> wrote:
> On 4/16/12, Grant Likely <grant.likely at secretlab.ca> wrote:
>> It isn't recommended anymore. Use the bus_type specific helpers instead.
>
> Ok. So here is fixup for 3/5 of this patchset.
>
> @Linus: I will merge this with PACH 3/5 and send pull request to Arnd.
>
> fixup! pinctrl: Add SPEAr pinctrl drivers

Cool, thanks.

Now what you *could* do is something like devm_platform_ioremap() that
gets the resource, does request_region() and ioremap().  That would
cut a lot of boilerplate out of drivers.  :-)

g.



More information about the linux-arm-kernel mailing list