Re: [PATCH] pci: use newly introduced devm_ioremap_resource()

From: Sergei Shtylyov
Date: Mon Mar 11 2013 - 14:06:59 EST


Hello.

On 03/11/2013 06:24 PM, Silviu-Mihai Popescu wrote:

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-ar71xx.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)

I think the idea was to combine changes to the 2 files in one patch.
Then the subject will truly reflect what it's doing...

WBR, Sergei

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