Re: [PATCH] net: ethernet: freescale: use devm_ioremap_resource()

From: Fabio Estevam
Date: Tue May 28 2013 - 14:32:39 EST


Hi Laurent,

On Mon, May 13, 2013 at 4:37 PM, Laurent Navet <laurent.navet@xxxxxxxxx> wrote:
> Replace a call to deprecated devm_request_and_ioremap by devm_ioremap_resource.
> also remove tests on 'r' since devm_ioremap_resource() checks for it
> in a better way.
>
> Found with coccicheck and this semantic patch:
> scripts/coccinelle/api/devm_ioremap_resource.cocci
>
> Signed-off-by: Laurent Navet <laurent.navet@xxxxxxxxx>

I was about to do the same change, then I saw your patch :-)

Looks good:

Tested-by: Fabio Estevam <fabio.estevam@xxxxxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/