Received: by 2002:a05:6a10:eb17:0:0:0:0 with SMTP id hx23csp366129pxb; Wed, 8 Sep 2021 03:05:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzJz+TBVioHi6DUAEWM6X44bJyHMv697I/W0swY3C/ZetuKFSsYtLqzQgdZX/Pbxm43iGJw X-Received: by 2002:a6b:18f:: with SMTP id 137mr2543938iob.214.1631095539340; Wed, 08 Sep 2021 03:05:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631095539; cv=none; d=google.com; s=arc-20160816; b=jLlnlb4+hmprk84CLf7YczKuqnOUpR3KjkuQAt9xetfqEKrUba6wdxOfs543tXL2dU rtmrgSLERQFIkj970Xi3YAAetqtJJyV0H0O+I7W361Zg3GBMJW22+gjkxCSEV+s1dM1t qUxYEuqXtRCmT8xaIpyM25qbmLOZwA4FfYz6DnGKaW7XEDcb1nByM6XA3ckBIs0Y1v2i /X2bO5hCWAZgJD7/o7WOavIh9Y+JIGfEB9UyBDQHXUGysU/27hbQ6C0HVYTuLEvaweqK 3b6xT9IPWbYN+Rfb8uzdv21pOG4qNtvbr2z+yr0IbD4bbiIOtBy5UFjYA9uwrFEmH50e rJvw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=ZH8pzkbAkHXLm6quT3qHQ6oWLqH4LVeVk9aPRMmCQSM=; b=Ehn2KTEECVONO3fc0R4UUKu2Lon5gpWg+eD44tqzup2WG93uMCq5EoqNHHDBte/sAr Kex84or/et7T2IHtOJ7w5W33W1dCFp7oeaLFRZuNqlv7sFPRUQWSe0VhYCNfZJ6H6APW 20VeSmqob9BJCk223OUtapbX2xheNEdCrnc/sqoQDLRGK9PUuuEcoXlZ4rZfG+rucGv6 PgEJJ4Xdl1aWunezDRsyJb+EbEpO/Foz3NHU0yuwYqpNAWmlEj5eGA/+0KG/ya8XEhI0 ncGOCDBMcLlEauqhFKIu6xUsdw0oyROm4ikgnDK31DnX30s4FJq12qAyy7k97EYnFEQK njyA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=FA8IhScY; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 13si1901789jan.43.2021.09.08.03.05.22; Wed, 08 Sep 2021 03:05:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=FA8IhScY; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1348845AbhIHJxQ (ORCPT + 99 others); Wed, 8 Sep 2021 05:53:16 -0400 Received: from fllv0016.ext.ti.com ([198.47.19.142]:57212 "EHLO fllv0016.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1347816AbhIHJxN (ORCPT ); Wed, 8 Sep 2021 05:53:13 -0400 Received: from lelv0266.itg.ti.com ([10.180.67.225]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 1889pv8q000578; Wed, 8 Sep 2021 04:51:57 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1631094717; bh=ZH8pzkbAkHXLm6quT3qHQ6oWLqH4LVeVk9aPRMmCQSM=; h=Subject:To:CC:References:From:Date:In-Reply-To; b=FA8IhScYdHAssuDCnjUu8S7SQrNVCMqUOhynqzYR5H3ffQXWLmJ0GrVg8wExs0ykx WgAyr93FeWrWOaxPF4RRsizDg/9zt+OYIZUl9iMJSBJEy+eEyD02fTKQnTwd1mOuVF 9md3XxmEGO83zX5hj5Z0doXnL2g/9zsTt7xMmFZw= Received: from DLEE101.ent.ti.com (dlee101.ent.ti.com [157.170.170.31]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 1889pvdP005838 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 8 Sep 2021 04:51:57 -0500 Received: from DLEE114.ent.ti.com (157.170.170.25) by DLEE101.ent.ti.com (157.170.170.31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.14; Wed, 8 Sep 2021 04:51:57 -0500 Received: from fllv0040.itg.ti.com (10.64.41.20) by DLEE114.ent.ti.com (157.170.170.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.14 via Frontend Transport; Wed, 8 Sep 2021 04:51:57 -0500 Received: from [10.250.100.73] (ileax41-snat.itg.ti.com [10.172.224.153]) by fllv0040.itg.ti.com (8.15.2/8.15.2) with ESMTP id 1889psYj068724; Wed, 8 Sep 2021 04:51:55 -0500 Subject: Re: [PATCH 1/3] soc: ti: k3-ringacc: Make use of the helper function devm_platform_ioremap_resource_byname() To: Cai Huoqing , Peter Ujfalusi CC: Santosh Shilimkar , Nishanth Menon , , , References: <20210908071310.432-1-caihuoqing@baidu.com> From: Grygorii Strashko Message-ID: <91d50073-9f23-5e69-6e52-52b11d80071b@ti.com> Date: Wed, 8 Sep 2021 12:51:53 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 MIME-Version: 1.0 In-Reply-To: <20210908071310.432-1-caihuoqing@baidu.com> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 08/09/2021 10:13, Cai Huoqing wrote: > Use the devm_platform_ioremap_resource_byname() helper instead of > calling platform_get_resource_byname() and devm_ioremap_resource() > separately > > Signed-off-by: Cai Huoqing > --- > drivers/soc/ti/k3-ringacc.c | 18 +++++------------- > 1 file changed, 5 insertions(+), 13 deletions(-) Thank you. Reviewed-by: Grygorii Strashko -- Best regards, grygorii