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.1 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,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 CF8B2C3A5A5 for ; Thu, 5 Sep 2019 08:29:21 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id A459421848 for ; Thu, 5 Sep 2019 08:29:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1567672161; bh=GAvDmQcIv/1wXK0/WrY7GWKY1nnGAcY6tCHpF3eRJ2s=; h=Date:From:To:Cc:Subject:In-Reply-To:References:List-ID:From; b=P6QUsXj+7Ay/GI2WmO1NN+SatxFA3gmqLT2d3R3d2dOcCSNPrT1cw+dcsGLpYzrUF 8JwtQg1gDfvLMqyPr2zPZkxVy8IAhHTvw94/lQv6mJoFlu2TgIN2eH/s86ACB3jmnQ xppZqRtM9+V+tphZONlE8AevfkS8N1sLCFL0iqU0= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731633AbfIEI3U (ORCPT ); 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.