Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp1991238rwb; Thu, 19 Jan 2023 19:04:23 -0800 (PST) X-Google-Smtp-Source: AMrXdXsd8sq99ATs2aBbzdPkuErXG8NhGM0WKfNTohWKtrsgPbigLY8UGV6d7EsPYdgPA9uJUA3b X-Received: by 2002:a17:907:6d21:b0:805:1e6e:6777 with SMTP id sa33-20020a1709076d2100b008051e6e6777mr35481239ejc.23.1674183863055; Thu, 19 Jan 2023 19:04:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674183863; cv=none; d=google.com; s=arc-20160816; b=eK/VXALO3LrfJkZsh3MJvu5m7jJ8jaEINmaqOeLbB2YTjO6aRm6sv6y8QwIB4bFWg/ GfCgeMOM3ZOY3s4787oCrzWOkPJIZDhSapXYt/uu3CiZuqAjEc7vC1b6rYtTBLKKx7XE Cnl1mCXbl78Zcrn1siAikL05wKxzQ0Npe/r0a+Ls2/e9m2JbhPFf5YhgcjEvseKgYGdQ UVVycFga1oH1aCyrkNxQI1zD1etAUWAbeIBYxI4CTBQ0QJGFOllEF4qbsCX2DSiufQXv KmxjL3d1MvzY6BuCwIUUdmslPGuEFGpMp/iT0pc0InX+GCG+io3kGEsuvOmjL52QIf8T GjLA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:subject:cc:to:from:date:references:in-reply-to :message-id:mime-version:user-agent:feedback-id:dkim-signature :dkim-signature; bh=pnns9lOh0+GIdk6jiwVH0+nJnurmy6WQSI2jQ7YKUHE=; b=LKSFB4pBzUw57wlGtSNxEuhbuyRtYPBG05sTPMEjC/BvE4v5DOxQlbL7rD6FkTHrYW dMZzZxIW4v2a1SdCWzHjYqqgc56Dyr8EGynnfWPImayJIEhGrOBtIHRf8QSht2KP17bs xGRz0Aa3R4BmPe1sG2I9TJOec5pYmareBXsORJcSpbT+jN29jqiwqVEbFxebvvDCPhTs F+XUWkMHWSVgdQE/s1/nSH8nOE0VIwYAB84IJNytSrMFkqnJFqCI05Xahs+EBRvMc6NV lCYe678ppzF+qmhNSwfdhzttjDgzQZys/O8FpRUrNkw+g2VJf5V/ugGUeY7rkGNq0SzB Hk3g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@aj.id.au header.s=fm2 header.b=RtvdCubr; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=jmXdcuw1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id be12-20020a1709070a4c00b007c087110276si19842014ejc.151.2023.01.19.19.04.11; Thu, 19 Jan 2023 19:04:23 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@aj.id.au header.s=fm2 header.b=RtvdCubr; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=jmXdcuw1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229530AbjATCKN (ORCPT + 46 others); Thu, 19 Jan 2023 21:10:13 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34694 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229473AbjATCKL (ORCPT ); Thu, 19 Jan 2023 21:10:11 -0500 Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5EEB626B5; Thu, 19 Jan 2023 18:10:10 -0800 (PST) Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id CFAD25C0045; Thu, 19 Jan 2023 21:10:07 -0500 (EST) Received: from imap50 ([10.202.2.100]) by compute6.internal (MEProxy); Thu, 19 Jan 2023 21:10:07 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aj.id.au; h=cc :cc:content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to; s=fm2; t=1674180607; x=1674267007; bh=pnns9lOh0+ GIdk6jiwVH0+nJnurmy6WQSI2jQ7YKUHE=; b=RtvdCubr/5zbN6z4f11I+/dx0h cE9T/jhovRak6vKBLpnbET178ecRA6JBVxpC3M1wcq0VYeOfsxlFyIysqMvNi6u7 hi1zmb7U40dcpIeT5jRSA6x9MIA1tT/7senzJdttTEiq/7zcshqznVaB2biJdtOi tcALXd+hVgRzg9pSwP1q1rWtILjCYbGG3O8ArETqXjvxDxHg01hGTLpaUbKNncO0 mbwOwrurZ2Knx2Drhwih7riU/ZF2VRNYVDJyNUA+0kmelr2RwTG/91U15P0Y4dwg rVavxeAn7uWpKoDRaGloi0XBCVuLerlaNe+hehRDO/G8snWWK7xkqWLP7exA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:date:date:feedback-id :feedback-id:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:sender:subject:subject:to:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm3; t=1674180607; x=1674267007; bh=pnns9lOh0+GIdk6jiwVH0+nJnurm y6WQSI2jQ7YKUHE=; b=jmXdcuw1So6AdCt0QM5o0UMBMZ6lJVXsk1P2RqB5uWJB iS/q/7teKVKsxaf7ltLapeDQPQ/cm3YJPVGn/4tXwaRzeyDK2iPcH5EhKVzb8mdT F0avdag1JDCYjV+M5SnPdzxFS7igio/hc/0UXqZfNGR5sw5o0BykOKfKJ7KFMahh oveHStpsr/v8Xlvt/KksS2vjYn2Exzfd56lEUionTIryQb1tWZJlmjqbtz+P7cse R+o0o2nhMlYBOJW1fQaxXhEprft4GqRCNUB6odoC8wrST6ITDBR6reOUPCwVwC/F oNIVrcUreZUtx6hz5x6FNOo9Ya7g2wO1ZXWurXbA9Q== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrudduuddggeegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepofgfggfkjghffffhvfevufgtsehttdertderredtnecuhfhrohhmpedftehn ughrvgifucflvghffhgvrhihfdcuoegrnhgurhgvfiesrghjrdhiugdrrghuqeenucggtf frrghtthgvrhhnpeekvdekjeekgfejudffteetgeejkeetteduvedtffdtledutdfhheev feetkeeiteenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhroh hmpegrnhgurhgvfiesrghjrdhiugdrrghu X-ME-Proxy: Feedback-ID: idfb84289:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id DA8DC1700090; Thu, 19 Jan 2023 21:10:06 -0500 (EST) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.9.0-alpha0-85-gd6d859e0cf-fm-20230116.001-gd6d859e0 Mime-Version: 1.0 Message-Id: In-Reply-To: <202301191715319948743@zte.com.cn> References: <202301191715319948743@zte.com.cn> Date: Fri, 20 Jan 2023 12:39:46 +1030 From: "Andrew Jeffery" To: ye.xingchen@zte.com.cn, brendan.higgins@linux.dev Cc: "Benjamin Herrenschmidt" , "Joel Stanley" , linux-i2c@vger.kernel.org, openbmc@lists.ozlabs.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] i2c: aspeed: Use devm_platform_get_and_ioremap_resource() Content-Type: text/plain X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 19 Jan 2023, at 19:45, ye.xingchen@zte.com.cn wrote: > From: ye xingchen > > Convert platform_get_resource(), devm_ioremap_resource() to a single > call to devm_platform_get_and_ioremap_resource(), as this is exactly > what this function does. > > Signed-off-by: ye xingchen Reviewed-by: Andrew Jeffery