From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 442F7EB64DA for ; Wed, 12 Jul 2023 16:01:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=sp996HACgic38C2s/qSFNOxf83RLwF1KftLmOUkKvkE=; b=qqdgHXSHTAkeJD yf7vjbH32OOmAqpVkE338Yb1EE4VO0HCRtMUTO5g2snAh1JU6MhcPXxDKhyIRWxVyrrvA2BYIiWTh 8GLLTwBiXhDnLx3l+2w0XMJ/piewMDTQBxkwHm/CwNALoPe5EUxHJn2oViSLO5eQ6nLkryAztF4y4 hrMySQsUygPD5KxRtY5X8NM6BqqwNI6+1bAwwHrvBcQt+1gGPihNjx8xIaKnD8396tbG/gnC9XiLN CuqbHcNiXTKgJeJJYqFFi91IfhaC87JFwxTJ2E+MVXAGGcPyQI4AP5UXfP21qGXEu0ADj5kMXB/CS fVhdBk/kFLnPT2/eZukw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qJcGW-000RtM-2x; Wed, 12 Jul 2023 16:00:32 +0000 Received: from dfw.source.kernel.org ([2604:1380:4641:c500::1]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qJcGR-000Rr5-2F for linux-arm-kernel@lists.infradead.org; Wed, 12 Jul 2023 16:00:28 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 11DFC6184B; Wed, 12 Jul 2023 16:00:27 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B6CF0C433C7; Wed, 12 Jul 2023 16:00:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1689177626; bh=Kx3mh3w7vjnYoTMaIJ95Wmw+voRErv92EZwVApiB+VE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=nCxeKP2hGd4kBnO3AMLuGr8oC219z3jedYCk0eFDqMvHtdGEwkA6s7CXw1G4EJJMX YBDMUhI8W+egtiRh+y5Z/+PnRArRV25Z0tK9jVo91G0dqzHRhsW4LB2ZxNIqPB4o6Z nubJl4K7DWtkKDOUyUR+UNRGollafdR8yOuKGMKCp5S93hQn2eO1Q+6MAL4W6H+aJh nlaxMOco0kfk6f1HA/U+ROSpzk5uIkjohctz0UgURFAT3uJDVFyG6xKTC3IIF94V4+ FS690ATmvPGg+qgUGNe4hvl6XfXwmSG8bEB6Y2dGabDUj4hyDbQv4Ba58lN5cS20V5 o3bCN2h0LSE9g== Date: Wed, 12 Jul 2023 18:00:22 +0200 From: Andi Shyti To: Yangtao Li Cc: Vladimir Zapolskiy , linux-arm-kernel@lists.infradead.org, linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 11/11] i2c: pnx: Use devm_platform_get_and_ioremap_resource() Message-ID: <20230712160022.33iyxpqv4xvtjknz@intel.intel> References: <20230710063351.17490-1-frank.li@vivo.com> <20230710063351.17490-11-frank.li@vivo.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20230710063351.17490-11-frank.li@vivo.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230712_090027_785131_A424D0FF X-CRM114-Status: UNSURE ( 8.85 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi Yangtao, On Mon, Jul 10, 2023 at 02:33:50PM +0800, Yangtao Li wrote: > 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: Yangtao Li Reviewed-by: Andi Shyti Andi _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel