Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp7762468ybi; Mon, 22 Jul 2019 20:13:44 -0700 (PDT) X-Google-Smtp-Source: APXvYqxAG1L1h4bwa8NFrcK7CcmkX9oLbhg9A0tvcwz/9iUHN6QZQt7Z63GiORUPW3ASdg/XxUxF X-Received: by 2002:a17:90a:8a15:: with SMTP id w21mr80585028pjn.134.1563851624146; Mon, 22 Jul 2019 20:13:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563851624; cv=none; d=google.com; s=arc-20160816; b=vyI12yxHUL9OOoEx2FEFczPQnDVRU/EBZ5gX4bpCOMZr1foZPooTM95OnpqsUyhhlW +uouB3ypjczNlCx69qzUC6F50Z8ax7LtRH/qFTTOpSRirrdsjnvslgQAhactVUknUI/P C5Wd6TAlWriPqKJ/Bvm3jYtOR9b/sLbdOX1ae7azqfOzuPNePM+AssZ+uHKuC8j63iYG MYoFfErY6gy4jvMT2rZ/gTUN8t2GzKdyLGHIooxCWVEJGN+hpJVQZC4wn3ihW9i+Bw0z gGRWylAP9/Khy/IUEtqy9Mv928/+bypPZm/H9m5SIAOfE+WNYP6ElrxVZSA/Vd4pfNT4 KCnA== 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=+VJkNM7My+PgEMavPElYeMcprgISjs8578SmYZa6h0A=; b=jArezl/eI8a+50CWU1gSWaBXYuGIHz4Ngq/kwpo0Uk/Pf4Z+vPmo4emOPKHybLLFo6 3papak5gfPG9u0ItchSu9A88fC454MYHUj62Q2CYG6YSWI6/embki/xkGenkeI7ATjH7 Wdr53J+peRDT8nLOSIIj+AODepgmj0BmtiSPTXgNDqtSAI1sXEKMwKM9ejOxwSeSkuGv MH65vWJXcbUapoPbfdEMZ6EcJdu5MqWuaeJwRKrlLA8nOnNX7QwMQJkMEgq9Joc28t6a agEbxjgV8V7QvjG9oLubB4fL+0dB1PrkzVAwsFJ8hX55kZoDqWPisWxppW+KDcX/XyDA xsJA== 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 v185si12606374pgd.340.2019.07.22.20.13.28; Mon, 22 Jul 2019 20:13:44 -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 S1730046AbfGVUgb (ORCPT + 99 others); Mon, 22 Jul 2019 16:36:31 -0400 Received: from mslow2.mail.gandi.net ([217.70.178.242]:49408 "EHLO mslow2.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728712AbfGVUgb (ORCPT ); Mon, 22 Jul 2019 16:36:31 -0400 Received: from relay10.mail.gandi.net (unknown [217.70.178.230]) by mslow2.mail.gandi.net (Postfix) with ESMTP id 090163A7CA2; Mon, 22 Jul 2019 20:16:52 +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 relay10.mail.gandi.net (Postfix) with ESMTPSA id 6372B240006; Mon, 22 Jul 2019 20:16:52 +0000 (UTC) Date: Mon, 22 Jul 2019 22:16:52 +0200 From: Alexandre Belloni To: Anson.Huang@nxp.com Cc: a.zummo@towertech.it, linux-rtc@vger.kernel.org, linux-kernel@vger.kernel.org, Linux-imx@nxp.com Subject: Re: [PATCH] rtc: mxc_v2: use devm_platform_ioremap_resource() to simplify code Message-ID: <20190722201652.GA24911@piout.net> References: <20190717081217.30518-1-Anson.Huang@nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190717081217.30518-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:12:17+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-mxc_v2.c | 4 +--- > 1 file changed, 1 insertion(+), 3 deletions(-) > Applied, thanks. -- Alexandre Belloni, Bootlin Embedded Linux and Kernel engineering https://bootlin.com