From mboxrd@z Thu Jan 1 00:00:00 1970 Received: with ECARTIS (v1.0.0; list linux-mips); Mon, 11 Mar 2013 11:00:11 +0100 (CET) Received: from arrakis.dune.hu ([78.24.191.176]:49941 "EHLO arrakis.dune.hu" rhost-flags-OK-OK-OK-OK) by eddie.linux-mips.org with ESMTP id S6824764Ab3CKKAGQHjc9 (ORCPT ); Mon, 11 Mar 2013 11:00:06 +0100 Received: from arrakis.dune.hu ([127.0.0.1]) by localhost (arrakis.dune.hu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id CULZ7QEibpDv; Mon, 11 Mar 2013 10:59:39 +0100 (CET) Received: from [192.168.254.50] (catvpool-576570d8.szarvasnet.hu [87.101.112.216]) by arrakis.dune.hu (Postfix) with ESMTPSA id 5FDA9284460; Mon, 11 Mar 2013 10:59:38 +0100 (CET) Message-ID: <513DAB22.2060309@openwrt.org> Date: Mon, 11 Mar 2013 11:00:02 +0100 From: Gabor Juhos MIME-Version: 1.0 To: Silviu-Mihai Popescu CC: linux-mips@linux-mips.org, ralf@linux-mips.org, blogic@openwrt.org, xsecute@googlemail.com, linux-kernel@vger.kernel.org Subject: Re: [PATCH] pci: convert to devm_ioremap_resource() References: <1362987753-6607-1-git-send-email-silviupopescu1990@gmail.com> In-Reply-To: <1362987753-6607-1-git-send-email-silviupopescu1990@gmail.com> X-Enigmail-Version: 1.5.1 Content-Type: text/plain; charset=ISO-8859-2 Content-Transfer-Encoding: 8bit X-archive-position: 35863 X-ecartis-version: Ecartis v1.0.0 Sender: linux-mips-bounce@linux-mips.org Errors-to: linux-mips-bounce@linux-mips.org X-original-sender: juhosg@openwrt.org Precedence: bulk List-help: List-unsubscribe: List-software: Ecartis version 1.0.0 List-Id: linux-mips X-List-ID: linux-mips List-subscribe: List-owner: List-post: List-archive: X-list: linux-mips Return-Path: 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.