[Top] [All Lists]

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

Subject: Re: [PATCH] pci: convert to devm_ioremap_resource()
From: John Crispin <>
Date: Mon, 11 Mar 2013 10:58:02 +0100
In-reply-to: <>
List-archive: <>
List-help: <>
List-id: linux-mips <>
List-owner: <>
List-post: <>
List-software: Ecartis version 1.0.0
List-subscribe: <>
List-unsubscribe: <>
References: <> <>
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.7) Gecko/20120922 Icedove/10.0.7
On 11/03/13 11:00, Gabor Juhos wrote:
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<>
  arch/mips/pci/pci-ar724x.c |   18 +++++++++---------
  1 file changed, 9 insertions(+), 9 deletions(-)

Acked-by: Gabor Juhos<>

Just a minor note, arch/mips/pci/pci-ar71xx.c should be fixed as well probably.


is this patch supposed to go upstream via ?


<Prev in Thread] Current Thread [Next in Thread>