Re: [PATCH] net: ethernet: stmicro: stmmac: usedevm_ioremap_resource()

From: David Miller
Date: Thu Apr 11 2013 - 16:23:11 EST


From: Silviu-Mihai Popescu <silviupopescu1990@xxxxxxxxx>
Date: Thu, 11 Apr 2013 22:52:13 +0300

> Convert use of devm_request_and_ioremap() to the newly introduced
> devm_ioremap_resource() which provides more consistent error handling.
>
> devm_ioremap_resource() provides its own error messages so all explicit
> error messages can be removed from the failure code paths.
>
> This was found with coccinelle.
>
> Signed-off-by: Silviu-Mihai Popescu <silviupopescu1990@xxxxxxxxx>

Applied.
--
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/