Re: [PATCH] pci: convert to devm_ioremap_resource()

From: Gabor Juhos
Date: Mon Mar 11 2013 - 06:00:19 EST


2013.03.11. 8:42 keltezéssel, Silviu-Mihai Popescu írta:
> Convert all uses 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.
>
> Signed-off-by: Silviu-Mihai Popescu <silviupopescu1990@xxxxxxxxx>
> ---
> arch/mips/pci/pci-ar724x.c | 18 +++++++++---------
> 1 file changed, 9 insertions(+), 9 deletions(-)

Acked-by: Gabor Juhos <juhosg@xxxxxxxxxxx>

Just a minor note, arch/mips/pci/pci-ar71xx.c should be fixed as well probably.
--
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/