Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp7762439ybi; Mon, 22 Jul 2019 20:13:41 -0700 (PDT) X-Google-Smtp-Source: APXvYqwDwiujP6sLZWQz/q/mPyUyVYdt+e52DTzcuYjPryScwZ/Lx/o3SJnfjQmbqbJxL1IFisit X-Received: by 2002:a63:1918:: with SMTP id z24mr71347451pgl.94.1563851620852; Mon, 22 Jul 2019 20:13:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563851620; cv=none; d=google.com; s=arc-20160816; b=KaTulzLGemJXTQr3W+RbxqEs3hnE5m7LXIprbTlAsaD/2N7bzjIIBMIh4SbxxDE8d4 aof2d+nExmPCTQavJaEOxYD84niaGM8zAPSWyCoOYTms4aK6e0GT2Mt/+wfEzrijhQWx WNuLV8t15ZfOZIRNT7jEQx0mxumksZdPYNusQsgbkLNdZ+UmpLQsFJKBYD/1sCgA1XTM W7lROG1Vku3Jy77TmelXORk8fqkx8BpBxHwhuTGUcooyp9X8ZyhBrVEDgtviE8crq9Zb 6OMH2L+Oh2QN39ms8jrZdmVSmFP1Lgow1400pINQkHXaKOwwkE7sE+bulYS6LCl+aPfH VPTQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=uFBcJQil4QiXKvFyKQ56zpxHOqm6OfV7ED+lVUIvBbQ=; b=CcGMkgYXqnWXxpfuYukK2IsNP9x6MFPK87DlwVQGSi6UQ397/ByjSffafunm7sCE0/ OQYt5tWHw+i/ILvkBY0BZUiMaYlBcnTTw0CM7bvri19LVhLavd2WFbjhWpEu8DwDc99P HStsq49MWV5weHWlQ4ODL/8pPjovfldiQEFgGYkxo2/SAWpatlxgnLEVbQi7ygZIsTQv FxgoVNf3KVQ6fMWVdpjrX87rsy6ZNjH2Pn1Es1X7coo8lOizeEX4oEDN+5JGhdNVfLFn f9rVWREnrUrgT9BFTgGYgSt20wiK5mKNdm/4zKKKgUXjoDf3Bea8wN3VaTnt8hu5q5dD gEVA== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a21si10087625pgv.185.2019.07.22.20.13.24; Mon, 22 Jul 2019 20:13:40 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730188AbfGVUh4 (ORCPT + 99 others); Mon, 22 Jul 2019 16:37:56 -0400 Received: from mslow2.mail.gandi.net ([217.70.178.242]:51268 "EHLO mslow2.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728712AbfGVUhz (ORCPT ); Mon, 22 Jul 2019 16:37:55 -0400 Received: from relay11.mail.gandi.net (unknown [217.70.178.231]) by mslow2.mail.gandi.net (Postfix) with ESMTP id 242833AA35F; Mon, 22 Jul 2019 20:17:07 +0000 (UTC) Received: from localhost (lfbn-1-1545-137.w90-65.abo.wanadoo.fr [90.65.161.137]) (Authenticated sender: alexandre.belloni@bootlin.com) by relay11.mail.gandi.net (Postfix) with ESMTPSA id CE120100004; Mon, 22 Jul 2019 20:17:05 +0000 (UTC) Date: Mon, 22 Jul 2019 22:17:05 +0200 From: Alexandre Belloni To: Anson.Huang@nxp.com Cc: a.zummo@towertech.it, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-rtc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Linux-imx@nxp.com Subject: Re: [PATCH] rtc: imxdi: use devm_platform_ioremap_resource() to simplify code Message-ID: <20190722201705.GB24911@piout.net> References: <20190717081411.30622-1-Anson.Huang@nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190717081411.30622-1-Anson.Huang@nxp.com> User-Agent: Mutt/1.12.0 (2019-05-25) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 17/07/2019 16:14:11+0800, Anson.Huang@nxp.com wrote: > From: Anson Huang > > Use the new helper devm_platform_ioremap_resource() which wraps the > platform_get_resource() and devm_ioremap_resource() together, to > simplify the code. > > Signed-off-by: Anson Huang > --- > drivers/rtc/rtc-imxdi.c | 4 +--- > 1 file changed, 1 insertion(+), 3 deletions(-) > Applied, thanks. -- Alexandre Belloni, Bootlin Embedded Linux and Kernel engineering https://bootlin.com