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=-2.5 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_SANE_1 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 3FA0EC432C2 for ; Wed, 25 Sep 2019 20:22:31 +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 12B9521D7A for ; Wed, 25 Sep 2019 20:22:31 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="ssmONuao"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="jfeUw/Ws" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 12B9521D7A 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:In-Reply-To:MIME-Version:References: Message-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=lUVZ/5VOaoW8RxH6H7FT/7qFPZ+gCvOrcmyiD/iVODo=; b=ssmONuaoh7o9ew HJHKNDo5DoH1CBap9OThdHTutLVNrIySDFWZn4WM7DmAzW6VQko6N1jWw6G46C6HRlatg16rX4eKI +jtIB/IrOYzid4Fv3QH9azPb/o00GUZv0198dv8SIynGSyvioJwUIfPpyEb22O5xJ8Jd0I55eVU0C VQvF64U7IiJx0dSVWQs1bU7RueNMgUnjiG/UWkYtSdW0KOUtKy1k30M44lzOI03A3Mlh3M5eWikVZ 2f0D5YvAAgsSuEAfrJw18Y9Wd3e4XSwkqEzhipIYPa9oZVW7j8nt3Y9AdeIrWLnuRRhywZDa8gD32 26Zh3d1siVjS2cod2wUw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.2 #3 (Red Hat Linux)) id 1iDDny-0000Zi-P3; Wed, 25 Sep 2019 20:22:30 +0000 Received: from mail.kernel.org ([198.145.29.99]) by bombadil.infradead.org with esmtps (Exim 4.92.2 #3 (Red Hat Linux)) id 1iDDnv-0000Z0-Eg for linux-arm-kernel@lists.infradead.org; Wed, 25 Sep 2019 20:22:28 +0000 Received: from localhost (unknown [12.206.46.62]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 0323221D7A; Wed, 25 Sep 2019 20:22:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1569442946; bh=FeWdANdyaCOkftp2qJmI4f+6S0li6x65GitPCqwsNBY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=jfeUw/WsvDm+BMsG27ObR5RZMSSduonTDjxMfHph/YRMtzfJTTohGixtshD3r5I15 iDPw8kS11ruB0nku9cocJjspIabC2AC0EnW7rrd+1fQPgrLdLb7xJWzFI/G4rb1/Vf PGK7gCK0o/YnRcdxl4U7iIlng+WCjaRkkPBDdO4I= Date: Wed, 25 Sep 2019 13:21:25 -0700 From: Vinod Koul To: Masahiro Yamada Subject: Re: [PATCH] dmaengine: uniphier-mdmac: use devm_platform_ioremap_resource() Message-ID: <20190925202125.GI3824@vkoul-mobl> References: <20190905034133.29514-1-yamada.masahiro@socionext.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20190905034133.29514-1-yamada.masahiro@socionext.com> User-Agent: Mutt/1.12.1 (2019-06-15) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190925_132227_516613_EDDB6858 X-CRM114-Status: UNSURE ( 8.96 ) X-CRM114-Notice: Please train this message. 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: dmaengine@vger.kernel.org, Dan Williams , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.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 05-09-19, 12:41, 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. Applied, thanks -- ~Vinod _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel