Re: [PATCH 02/33] ARM: Convert to devm_ioremap_resource()

From: Thierry Reding
Date: Mon Jan 21 2013 - 11:05:53 EST


On Mon, Jan 21, 2013 at 03:58:46PM +0000, Russell King - ARM Linux wrote:
> On Mon, Jan 21, 2013 at 11:08:55AM +0100, Thierry Reding wrote:
> > Convert all uses of devm_request_and_ioremap() to the newly introduced
> > devm_ioremap_resource() which provides more consistent error handling.
>
> Does this include the resource part of the handling too?

I'm not sure I understand your question. devm_ioremap_resource() does a
devm_request_mem_region() internally if that's what you were asking.

Thierry

Attachment: pgp00000.pgp
Description: PGP signature