Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp271096yba; Mon, 1 Apr 2019 06:13:04 -0700 (PDT) X-Google-Smtp-Source: APXvYqwIfDbszOdkTl7mgZWM1BTZTCN9BD7MAJmrUvYSdrwmerqGf+2gYebOltaW7+9RoyiGotpY X-Received: by 2002:a65:6201:: with SMTP id d1mr4199308pgv.28.1554124384737; Mon, 01 Apr 2019 06:13:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554124384; cv=none; d=google.com; s=arc-20160816; b=fV8SFeuWKh2oVpeWyrpwobMJHBszTDQh4zc93WL51LWXBUYv0UPKB+GrZ8ld/sbB/x oBUV6UPXkdOYiJYthKo/DViFO7ok929fe6qT89DdBl2JmTkSCnf/FFjQEenAoaIudNBU sCLt8TJWmq7A55H/i+r2/zcy4bK/0edmQGm+cSbJbXkmpbBzhPFyJ5LoBCmh42AUi6vA BdjaOxKjA7fEnTCiO0BSVQFhO5ps37oUV55mQJcYhbIN/htu9J37L9QplqekOizi50mH lHUL03s4RNWcel99lKZSLGMJ1Nonmd710zjBdPgguN3T6u1nkk3fn9QFWb9cRtJqyMzR nTEQ== 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=6sg21RFYzxWBB5X5yxhcBHpl8FecemY6IcsUvHb2FMM=; b=g4VnddYghqXKNncsQxeKXXbxToSYIfnbYZ3khq6S+aEQpv0mc1wk4C6gG1Lh6KsAg4 UR/RmP/E9F9T0NWV+unzhe/NiIYUnX1C7n8XKKMCFFDli5EulFcL4farTR6UwpmFfxwi O966RHCh0hIsftqM+xcVmffWqSDXY93kjfr9BM6fSjhcO1TYHLSeS6S1INvQglwEl0BZ lA7R+SPwqzI7wf6RMzOp8yK6R5IhjBBjoHPeVky5B8HtMJW7M5Ox8BWJA1KndnazJhKo yi4vJA61oxV3sdo3VsW81gkfRaO64gZi8F5Qfx0Df//RVKa3q2nozQSK7oE5BHSq3qup 8b+w== 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 w15si8856892pgj.427.2019.04.01.06.12.48; Mon, 01 Apr 2019 06:13:04 -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 S1727020AbfDANMA (ORCPT + 99 others); Mon, 1 Apr 2019 09:12:00 -0400 Received: from relay8-d.mail.gandi.net ([217.70.183.201]:50647 "EHLO relay8-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726542AbfDANMA (ORCPT ); Mon, 1 Apr 2019 09:12:00 -0400 X-Originating-IP: 109.213.83.19 Received: from localhost (alyon-652-1-60-19.w109-213.abo.wanadoo.fr [109.213.83.19]) (Authenticated sender: alexandre.belloni@bootlin.com) by relay8-d.mail.gandi.net (Postfix) with ESMTPSA id 902881BF209; Mon, 1 Apr 2019 13:11:57 +0000 (UTC) Date: Mon, 1 Apr 2019 15:11:56 +0200 From: Alexandre Belloni To: Anson Huang Cc: "a.zummo@towertech.it" , "linux-rtc@vger.kernel.org" , "linux-kernel@vger.kernel.org" , dl-linux-imx Subject: Re: [PATCH] rtc: mxc: use devm_platform_ioremap_resource() to simplify code Message-ID: <20190401131156.GF3430@piout.net> References: <1554095822-15532-1-git-send-email-Anson.Huang@nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1554095822-15532-1-git-send-email-Anson.Huang@nxp.com> User-Agent: Mutt/1.11.3 (2019-02-01) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 01/04/2019 05:21:43+0000, Anson Huang wrote: > 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-mxc.c | 4 +--- > 1 file changed, 1 insertion(+), 3 deletions(-) Applied, thanks. -- Alexandre Belloni, Bootlin Embedded Linux and Kernel engineering https://bootlin.com