Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp543540ybe; Thu, 5 Sep 2019 01:57:29 -0700 (PDT) X-Google-Smtp-Source: APXvYqzyXpOsmmvDLZfTTYVZ+kn9WtknYPMNUlAhbrmnnTTlfv746P7QYgqaBL6eih9LcbhO9G/o X-Received: by 2002:a63:7b4d:: with SMTP id k13mr2122523pgn.182.1567673848811; Thu, 05 Sep 2019 01:57:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567673848; cv=none; d=google.com; s=arc-20160816; b=VkCtj2x1gJ34QhKd2wUrEu5PaWEWIbBaugAcDLxXEZzZmSLeHsTuy28DY0J4A9XmYa s5sGf8T8ux2hv2D1yq5rVKnNNoUwY7xGKHkPiFlF6GGKQ/2RieM20X/gH7ldFkcZXhBP rR0slQ2K0mCOe81IzSFLJyASsAquEbsiGzzaP4wXA5bhpdWGFtFFd2dI6XkilQoeqw5W CeCeCI3VnK1QWP5MaePE1iOsebxH9sqBEYEppx/fGpGi3F2GzhA+TqQzugrPjdTZ5D4v 2QSW4HE8JoDdEq3e4cXYoTBajAnvpGuNu5XDNBxyYVOm+24ZTc0WC1TNwvv44OFF3FqK NfzA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:organization:user-agent :references:in-reply-to:subject:cc:to:from:message-id:date; bh=p+hhEyZ4Z6ERQPpb8KpyMziJ8q2v9PVWoqWvZ6OtRL0=; b=IaLnKvp5ztqIXp/E9RiYJpxmmJoyghKQnhzBeWEBp/yuR2Nfd0U27ZxdiscsQnM2/5 nAf6KNY2Why/Z6gzw1YlVwjebLkrZc5doOOrPpsM+TRCKK5PYE/rcSognCqDOayzfPNR iqL/0DSCT2JDGTfluqgA4CsVq2WxYLKM+mk7o/HscX0wcZ8RCIE5Fwy8OXzBQgaTRQTG YI9ksSK+hK6sfOdq0YFulT7yOuDxhiKTjW5VoyqSfBzYIgUC5xigw5ryATyzKJ0CVa7M VUrCIJwRfeSxbE6fyjUbSbwsftmYdri2h1MyXq/0Q0DvYyHW6007/mWkpOAzEnsBWBLH IBiA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x12si1259157pgq.220.2019.09.05.01.57.11; Thu, 05 Sep 2019 01:57:28 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732671AbfIEI3U (ORCPT + 99 others); Thu, 5 Sep 2019 04:29:20 -0400 Received: from foss.arm.com ([217.140.110.172]:39282 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730780AbfIEI3U (ORCPT ); Thu, 5 Sep 2019 04:29:20 -0400 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 Cc: Thomas Gleixner , Jason Cooper , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org 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") Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.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.