[Top] [All Lists]

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

To: Silviu-Mihai Popescu <>
Subject: Re: [PATCH] pci: use newly introduced devm_ioremap_resource()
From: Sergei Shtylyov <>
Date: Mon, 11 Mar 2013 22:07:53 +0300
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: <>
Organization: Cogent Embedded
References: <>
User-agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130215 Thunderbird/17.0.3

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

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