Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp3391227rwd; Sat, 10 Jun 2023 06:59:54 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ67NTchW/xpvX9haJchUbAeXVm2QEui+Cf1f9KFkLevH7xxU+Js5MP2c/t8/3Wb6vLrJwxx X-Received: by 2002:a17:90a:1a50:b0:25b:ca7a:5660 with SMTP id 16-20020a17090a1a5000b0025bca7a5660mr76852pjl.6.1686405594360; Sat, 10 Jun 2023 06:59:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686405594; cv=none; d=google.com; s=arc-20160816; b=GjYGv+fL4/0813qR8LpoBF3cgbXuHwd05fyiT91QUwqgZJSt3NCWBytcKqCpzoX+6r 8ql8VpPTSGJM02ngY0VvVZRbFq2bMKuU5tM3cX6aV3gWiQhHHvUALh/O8tV7zs2tyDi6 AVrxcAwaohyKSGbxUJIAZS6WBzBtgXkxbb+CJVa8rJSxjua1Kk3z6wf6jCI6+D5MviyW dsleRS1uKBR1yrOkRLQ0fLEaxACVMiAChRZi6XWo1APcto1Ua0ccxXZRvh3avHnLa8nx E+Quwv0dHpwmR+w5HMJNRgTVKS7xG+plsRVDIjTtxtll3HICjWhK4RErtPRWkdnZAO4m YS9A== 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:dkim-signature; bh=X463K/SBiptO6hqstAFhB53MGPqOVPV1mGHdzUtR5y4=; b=eNtvewNjhFh1g8oyiX/RrON6YCmgWUxpWJNGGgnPKuJkUTNywnMv77eFe6XR8idZz0 9s5j2bw/Yodo7wXyKB9AuGV3R0YPXj4ZMg4cb7KmKjfIkrW/U38qhjEtV4zIXWUllaHw 4Pk5Wicjjstm4e4BEMj7/xVpMJOtdFKD0hWi5gDqDc3ViB0Gb8qoMk1Vau3QfXbYDo0x Xl4x0v73WtloirB1EB+3SHzzDwgHeo0jTOT/rwl3CiV4TTivXko5pdUvG2Ye3URf0PoR CpgTC4q1GO9FaleLJa8Kf0RmhwItfoXo0kb9LFHGpLFRleMTUFwWMmii4JLYZ/wICuPk i/3g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=TNr6O30E; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t3-20020a17090aae0300b002533ea2ad58si5848017pjq.140.2023.06.10.06.59.38; Sat, 10 Jun 2023 06:59:54 -0700 (PDT) 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=@kernel.org header.s=k20201202 header.b=TNr6O30E; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233265AbjFJNrT (ORCPT + 99 others); Sat, 10 Jun 2023 09:47:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52992 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230311AbjFJNrR (ORCPT ); Sat, 10 Jun 2023 09:47:17 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0F68FCA; Sat, 10 Jun 2023 06:47:17 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 982E961092; Sat, 10 Jun 2023 13:47:16 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 825D6C433D2; Sat, 10 Jun 2023 13:47:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1686404836; bh=fFblAE/qGsp8PFZpy9/5e/2/gCXc7t2KJnm41+27ak4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=TNr6O30E3b2aQrZRZCtBWlzl0F6N83CCRIzDiFzDEbWDH1hbe9H3yn4KQll1pfVW+ yRYsLvQ5iK6qMgcHWpqtdaEsHTxiSDZsKfCgZm5COMLJgRFhKrQIkghaxw3XBGclS8 B5QppcQqFG9heDSilAFwmXg9+bZxyon8Qq3owerLRL8D1fHBR2nkpurZdA06DOq1de /Duit5TmMRV2r6Ny6vSToIVsuMNkhe0A2Wi0TlMLdnkNizoVnOCL8dfffozzbXYigB QXObiUodEo6IIhKiQXU0ZBU2kMKLSurdfQC3W6YhGuAlcDuVdPUHaYOzXHSrCRZVvE m8ksBba9dYjYw== Date: Sat, 10 Jun 2023 15:47:12 +0200 From: Andi Shyti To: ye.xingchen@zte.com.cn Cc: linus.walleij@linaro.org, linux-arm-kernel@lists.infradead.org, linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] i2c: versatile: Use devm_platform_get_and_ioremap_resource() Message-ID: <20230610134712.scw5nwp7pgpumybj@intel.intel> References: <202301191721230148862@zte.com.cn> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <202301191721230148862@zte.com.cn> X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,SUSPICIOUS_RECIPS,T_SCC_BODY_TEXT_LINE 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 Hi Ye, On Thu, Jan 19, 2023 at 05:21:23PM +0800, 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: Andi Shyti Thanks, Andi