Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp789443rwb; Thu, 10 Nov 2022 07:27:19 -0800 (PST) X-Google-Smtp-Source: AMsMyM5r8/t7OO3OpzlFe4ztK3qD63aNo1vvAvYiZ29D7wtGmuElkKZW39hH4uS0xvibw7ZX76ff X-Received: by 2002:a17:907:2bc4:b0:7ae:2d6f:5a48 with SMTP id gv4-20020a1709072bc400b007ae2d6f5a48mr29945068ejc.478.1668094039045; Thu, 10 Nov 2022 07:27:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668094039; cv=none; d=google.com; s=arc-20160816; b=asWepqze4bMJ2I6ScV3KyCf5auQDlH55hxBO9UQZC2Nojy0rM6ir4pj2eOvS5Rtr+/ cTsNVIPF/P9FPPdnnXEk7XrpcspW3M6GUdsoOGtecOr7hTr9q8fxqwZM6TBwBDDRmxA4 ctHDAGvUyqQ4L1XHafEkxWYFtWt3K/lPyo6UrhAPi6hrNkF0F0jvDuzvaumQgmWNzmRg O9zwqc1Q6F5D8Ub/Nc+NhOlw2b2W2c4YjkwaanheZh0jOP+lifbu1yZOT7Xpikk5Oknt c8hJXoMu/8sOXRwBwuPH66QBYSCApoAAJmRfiVmF7P4j40VumpKDXqhLSwfxI433Zbib vWbw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=RCfgsze2v4amiydDSjnlTPT1E9qcpOl9jjXK76IAR8o=; b=oAGBsbonfA9gl2Ur+64vIj380PjBXj6MpPWT8l2EK/0F0uRsR4LK8fdgg7eqe/mY1/ Trb41I6rIlf7CNacHrnc6+Ib0f1eQo6K6eaoXlqlX9o/ACirzNhZ/n4WUkwtJWpyCFwY 9maIkPP/o3fYWZqsd+pMm+uR916GJsmcOOyiyHGyEcsXH/JTYqwHjXifCmUem9uFvJhm ucq5KpyY437VwNcOialjXYzMwdYtRMFeOkSC2YiE0NwZxFcknYWaahJf5a9ZBdBOBMbQ yoSE/+wb6Ugw/vflFOpH7TsIJcau1Or3rRmoPf4SSjtyzffQakFI6uSPsUkmBEgSHFiS 3sbg== ARC-Authentication-Results: i=1; mx.google.com; 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 y8-20020a056402170800b0046453c36c69si15675227edu.68.2022.11.10.07.26.52; Thu, 10 Nov 2022 07:27:19 -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; 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 S230232AbiKJO50 (ORCPT + 92 others); Thu, 10 Nov 2022 09:57:26 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46678 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229593AbiKJO5Y (ORCPT ); Thu, 10 Nov 2022 09:57:24 -0500 Received: from metis.ext.pengutronix.de (metis.ext.pengutronix.de [IPv6:2001:67c:670:201:290:27ff:fe1d:cc33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9B8CB12629 for ; Thu, 10 Nov 2022 06:57:23 -0800 (PST) Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ot8zV-0005Wm-6c; Thu, 10 Nov 2022 15:57:17 +0100 Received: from [2a0a:edc0:0:900:1d::77] (helo=ptz.office.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtp (Exim 4.94.2) (envelope-from ) id 1ot8zQ-003TM9-VH; Thu, 10 Nov 2022 15:57:13 +0100 Received: from ukl by ptz.office.stw.pengutronix.de with local (Exim 4.94.2) (envelope-from ) id 1ot8zR-00Ff2y-40; Thu, 10 Nov 2022 15:57:13 +0100 Date: Thu, 10 Nov 2022 15:57:12 +0100 From: Uwe =?utf-8?Q?Kleine-K=C3=B6nig?= To: ye.xingchen@zte.com.cn Cc: linux@rempel-privat.de, linux-kernel@vger.kernel.org, chi.minghao@zte.com.cn, linux-i2c@vger.kernel.org, kernel@pengutronix.de, shawnguo@kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH] i2c: imx: use devm_platform_get_and_ioremap_resource() Message-ID: <20221110145712.okxjbawfchp3tfje@pengutronix.de> References: <202211101723428058432@zte.com.cn> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="gocmzz3lynp2xdw6" Content-Disposition: inline In-Reply-To: <202211101723428058432@zte.com.cn> X-SA-Exim-Connect-IP: 2a0a:edc0:0:c01:1d::a2 X-SA-Exim-Mail-From: ukl@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,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 --gocmzz3lynp2xdw6 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Nov 10, 2022 at 05:23:42PM +0800, ye.xingchen@zte.com.cn wrote: > From: Minghao Chi >=20 > 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. >=20 > Reported-by: Zeal Robot > Signed-off-by: Minghao Chi As res is used later, we cannot switch to devm_platform_ioremap_resource(), so the patch is fine. Reviewed-by: Uwe Kleine-K=F6nig Best regards Uwe --=20 Pengutronix e.K. | Uwe Kleine-K=F6nig | Industrial Linux Solutions | https://www.pengutronix.de/ | --gocmzz3lynp2xdw6 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEfnIqFpAYrP8+dKQLwfwUeK3K7AkFAmNtEUUACgkQwfwUeK3K 7AnaYAgAmhjSkv4KrIJ2g6QL8j81Wp8sZgaf/WPCJSZOqfALZok8OflVlj5bi4jh XPF4VFUdNPRZI4t0IwQlN0/QawnMlGAkHf4TQAWzOM5/W632zb9zTggP2evCBBp4 5zY+omZJn/lizRGjU44+YqXGpu0KSIQJQmgzDDdx44139LgrjcA0vDaoG9ta1t7k YJEBYZCP2tloATV5Q4opK96MQEHvbKyDMRv0bPouBbEkauHkWO6bhaOthE1ZCzjW llaYYFyF0uFl1KruiZoZDHxPO30QR530W9V3pEcPlaxzihH82FTZuzxRgvbzed0q UfB7n1LsVMiujx25c1t0bJsaVYmiNg== =1TYz -----END PGP SIGNATURE----- --gocmzz3lynp2xdw6--