[PATCH V4 1/5] of: Implement managed of_iomap()
Sergei Shtylyov
sshtylyov at mvista.com
Tue Apr 17 03:33:31 EST 2012
Hello.
On 04/16/2012 09:06 PM, Grant Likely 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. :-)
That is already done, called devm_request_and_ioremap().
WRB, Sergei
More information about the devicetree-discuss
mailing list