From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.0 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B0DA3C3A5A5 for ; Thu, 5 Sep 2019 08:29:40 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 83D4422BEF for ; Thu, 5 Sep 2019 08:29:40 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="UmSbNALw" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 83D4422BEF Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Subject:To:From:Message-ID:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=LQFRtH8iPfnbHvypvCfmSyWKHhVkDSQiOlcLgomPuVU=; b=UmSbNALwCmzwTP ZFnAPfmweWziDdu1yrvs4h+jZQIBFB/WUVlH9KUDpg77TqJ1RSjPvG4fpwyIomtrZ9uDd+jZdRQss i+8CH0mE3SyJAH0BcQojn/jxcrVEPFkPlaQeCJqXM+lfseZCjneZmMeuXLZG0oPlJ0KSQLAd1GhwW 3mbOd9F+AVVqE2f1N6pLsLQgGAwrYKcuDfAymzgbFUrlraWhKHrsFrZxTbeirmMoKkQms5PmHaqcH 1Pb/YPaU001gtPCUJTmglJkPtuthRj5yBZiuz/dGmPOHYxsjSNA0caELnk1ej8rS6MyRL1u/0kvyB yujfKYtJFWpNlCzjRP6A==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1i5n93-0006Cf-Tx; Thu, 05 Sep 2019 08:29:34 +0000 Received: from foss.arm.com ([217.140.110.172]) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1i5n8q-000616-QM for linux-arm-kernel@lists.infradead.org; Thu, 05 Sep 2019 08:29:22 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 870AE337; Thu, 5 Sep 2019 01:29:19 -0700 (PDT) Received: from big-swifty.misterjones.org (unknown [10.1.27.38]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 194033F67D; Thu, 5 Sep 2019 01:29:17 -0700 (PDT) Date: Thu, 05 Sep 2019 09:29:16 +0100 Message-ID: <86o8zzrvs3.wl-maz@kernel.org> From: Marc Zyngier To: Masahiro Yamada Subject: Re: [PATCH] irqchip: uniphier-aidet: use devm_platform_ioremap_resource() In-Reply-To: <20190905034932.12587-1-yamada.masahiro@socionext.com> References: <20190905034932.12587-1-yamada.masahiro@socionext.com> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL/10.8 EasyPG/1.0.0 Emacs/26 (aarch64-unknown-linux-gnu) MULE/6.0 (HANACHIRUSATO) Organization: Approximate MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190905_012921_074690_50DAC682 X-CRM114-Status: GOOD ( 13.66 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Thomas Gleixner , Jason Cooper , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Thu, 05 Sep 2019 04:49:32 +0100, Masahiro Yamada wrote: > > Replace the chain of platform_get_resource() and devm_ioremap_resource() > with devm_platform_ioremap_resource(). > > This allows to remove the local variable for (struct resource *), and > have one function call less. > > Signed-off-by: Masahiro Yamada > --- > > drivers/irqchip/irq-uniphier-aidet.c | 4 +--- > 1 file changed, 1 insertion(+), 3 deletions(-) Applied to irqchip-next. Thanks, M. -- Jazz is not dead, it just smells funny. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel