Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp1341490ybh; Sun, 15 Mar 2020 00:38:48 -0700 (PDT) X-Google-Smtp-Source: ADFU+vuEdp0FoJpk63aw1G/BJP4Oo9tmdWTi0N7G2pk5xbDK7xJvh/O9XHvvkrC6a+KbN0v5KdYb X-Received: by 2002:a9d:5a09:: with SMTP id v9mr17114212oth.214.1584257928406; Sun, 15 Mar 2020 00:38:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584257928; cv=none; d=google.com; s=arc-20160816; b=OihGz/rrB28fx+nj4AcBuk0oxFlRz7/LUVOHd5W6KEqOPMcGhVcavVsUrNq1uwXgL5 OmuX+YI11URS6M9D4YHIGGP2ULhSJcYdMW6RbOZyKQxJOhGh1a+/ELxPo4p8f9hAAI6x lCbvP8CUgQiUV4SSHCmbol/ro5BjLWZDKvu+GUbE5xPh7LUkmurErdSPdNNVNtr1qqOO ipO/I9tBXwr0qPgdOUTTm3/PxnHah4SnohM2S8ZUo1SGnKPiMpuvW/ZALegpfkXcpLjE izspmVUJXd9GfRHQLT5eCbWZQyUpsUo296rLlW+yS7r7NPp4PJMXolofPogH7cGc8lVi NyKw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:from:subject:cc:to:message-id:date; bh=6LXJZwKCFII9ftwxPFjiOj2CK2THPDC21iIHNBDqqls=; b=dcOYswyoLuDumrfi8pvXYnVsX8+LpwbOuXI9+zCZsHbHL26kryz74a5kOns+NQax5q 4xYdTS13lXu/hhST4VhdTwVeTwGMgmqjHNOCI6Dmh2YbSOCDgDKhZqAFa6XSZHky8LJB p7KEavVgk92rrZKg26MwYfkJwtoTtJHM9yYLXKbdaxQz8AtbgERDLFS9vCPMcBvetCan MI5mx2wLFtexgCUfuio7FTya21DRKpOth9MrRrsmiTdApK4Z0aSD9aCWwdt2fCqV9Zmc j+xgPerpZp4apf6WitGMZ7jNZFhdsYp/kTjAPU2FNZSFQXzI7HpcTY8hUokJfqshqHY1 Guzw== 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 t21si7918537otq.93.2020.03.15.00.38.16; Sun, 15 Mar 2020 00:38:48 -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 S1727527AbgCOHhs (ORCPT + 99 others); Sun, 15 Mar 2020 03:37:48 -0400 Received: from shards.monkeyblade.net ([23.128.96.9]:36132 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727149AbgCOHhs (ORCPT ); Sun, 15 Mar 2020 03:37:48 -0400 Received: from localhost (unknown [IPv6:2601:601:9f00:477::3d5]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: davem-davemloft) by shards.monkeyblade.net (Postfix) with ESMTPSA id 9A848141B9DD1; Sun, 15 Mar 2020 00:37:46 -0700 (PDT) Date: Sun, 15 Mar 2020 00:37:45 -0700 (PDT) Message-Id: <20200315.003745.329177895751390879.davem@davemloft.net> To: zhengdejin5@gmail.com Cc: peppe.cavallaro@st.com, alexandre.torgue@st.com, joabreu@synopsys.com, mcoquelin.stm32@gmail.com, netdev@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH net-next] net: stmmac: platform: convert to devm_platform_ioremap_resource From: David Miller In-Reply-To: <20200313144257.9351-1-zhengdejin5@gmail.com> References: <20200313144257.9351-1-zhengdejin5@gmail.com> X-Mailer: Mew version 6.8 on Emacs 26.1 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Sun, 15 Mar 2020 00:37:48 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Dejin Zheng Date: Fri, 13 Mar 2020 22:42:57 +0800 > Use devm_platform_ioremap_resource() to simplify code, which > contains platform_get_resource and devm_ioremap_resource. > > Signed-off-by: Dejin Zheng Applied, thank you.