Received: by 2002:a05:6358:f14:b0:e5:3b68:ec04 with SMTP id b20csp143712rwj; Thu, 22 Dec 2022 22:28:30 -0800 (PST) X-Google-Smtp-Source: AMrXdXtiBYevF22ObrQgKppymC2SbfcxqHPTomeJbtdIvvRaGwyQMzsJXLr1DNZNNSIjc1bX5QlT X-Received: by 2002:a50:9f09:0:b0:46f:7453:c9b6 with SMTP id b9-20020a509f09000000b0046f7453c9b6mr7521062edf.8.1671776910004; Thu, 22 Dec 2022 22:28:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671776909; cv=none; d=google.com; s=arc-20160816; b=f9RpUWXK7Zf0yDI1VFNdGdWaDOGoLC17LDevNenUr1OZ6kggykxKGIkBuerdzrg25F aKgYGdc28JdqXIgePZCaT0U1aRMeGgp3LwtpNj6DtFoz942L1lXyhgi9MYhMGwTvzsJ7 nCjieX9GLGNJyLe5MmJGKSRdoVocx8k3iuzAG7uQkwa18jqifaaGr+13+uMXCLxR4cHD THDGYkr2RM22u4JTuj1JM2ClX4qRytTlmw9+dO/e9QHHO/gBbpw6EL+0NylVEdH2Hz0V geK3BAjdTql26YuXeWVWl+uOF+A73bvJRTvAIuDr+eNWPqKVio/rwYRPrjhRMa9lrAOJ 3mKQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id; bh=ZssTT93veE1VfAQweaQz/XXO11ji8o4KNeC6PLuFKZU=; b=XeVqaLeyi34ft/9SjuXn3nuoZrJJEqr2JpqDlfv7x+aOvxKi6lFbUQkg4P0m8XKZ52 cHUOSCvQ9nuh5TnR06z5NIoBe/Ufj3yoPuc6y7pSH/Dfv2tn+YxcQLrhKgNPQsBlFQSB Gw8J4CbNgwgHdKsVhA+ZBGhKFm15iefTmskdNd+VLuzy5Q99oOJ5fxAFuT6p7C3TiZxA D1rbw2dGFpkEIQcUGcVt9z8m3l4p2dBtZpMjHGeN6ecPFiBNqgLY8VnD/MTvPGU94Mx9 QultHvSfPFPdIsUZOuPLhS7hElpf/0kWRqR493Q8loRD4OYaniijz5+3gGfYUTc0h35A HBOw== 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 b7-20020a056402350700b00461b661d906si2532139edd.256.2022.12.22.22.28.14; Thu, 22 Dec 2022 22:28:29 -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 S229897AbiLWGWQ (ORCPT + 67 others); Fri, 23 Dec 2022 01:22:16 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42010 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229483AbiLWGWN (ORCPT ); Fri, 23 Dec 2022 01:22:13 -0500 Received: from fd01.gateway.ufhost.com (fd01.gateway.ufhost.com [61.152.239.71]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1BF87165A9; Thu, 22 Dec 2022 22:22:11 -0800 (PST) Received: from EXMBX165.cuchost.com (unknown [175.102.18.54]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "EXMBX165", Issuer "EXMBX165" (not verified)) by fd01.gateway.ufhost.com (Postfix) with ESMTP id E996E24E035; Fri, 23 Dec 2022 14:22:06 +0800 (CST) Received: from EXMBX172.cuchost.com (172.16.6.92) by EXMBX165.cuchost.com (172.16.6.75) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Fri, 23 Dec 2022 14:22:06 +0800 Received: from [192.168.125.65] (183.27.97.120) by EXMBX172.cuchost.com (172.16.6.92) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Fri, 23 Dec 2022 14:22:06 +0800 Message-ID: <20e6b9af-3bee-6a4a-880f-df22ebcbe3b5@starfivetech.com> Date: Fri, 23 Dec 2022 14:23:09 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.3.2 Subject: Re: [PATCH v3 02/11] clk: starfive: Rename "jh7100" to "jh71x0" for the common code Content-Language: en-US To: Conor Dooley CC: , , , Palmer Dabbelt , Rob Herring , Krzysztof Kozlowski , Stephen Boyd , "Michael Turquette" , Philipp Zabel , Emil Renner Berthing , References: <20221220005054.34518-1-hal.feng@starfivetech.com> <20221220005054.34518-3-hal.feng@starfivetech.com> From: Hal Feng In-Reply-To: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Originating-IP: [183.27.97.120] X-ClientProxiedBy: EXCAS066.cuchost.com (172.16.6.26) To EXMBX172.cuchost.com (172.16.6.92) X-YovoleRuleAgent: yovoleflag X-Spam-Status: No, score=-3.1 required=5.0 tests=BAYES_00,NICE_REPLY_A, RCVD_IN_MSPIKE_H2,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 Tue, 20 Dec 2022 22:08:06 +0000, Conor Dooley wrote: > On Tue, Dec 20, 2022 at 08:50:45AM +0800, Hal Feng wrote: > > From: Emil Renner Berthing > > > > Rename "clk-starfive-jh7100.h" to "clk-starfive-jh71x0.h" and rename > > some variables from "jh7100" or "JH7100" to "jh71x0" or "JH71X0". > > > > Signed-off-by: Emil Renner Berthing > > Signed-off-by: Hal Feng > > --- > > .../clk/starfive/clk-starfive-jh7100-audio.c | 74 ++-- > > drivers/clk/starfive/clk-starfive-jh7100.c | 388 +++++++++--------- > > drivers/clk/starfive/clk-starfive-jh7100.h | 114 ----- > > drivers/clk/starfive/clk-starfive-jh71x0.c | 284 ++++++------- > > drivers/clk/starfive/clk-starfive-jh71x0.h | 114 +++++ > > 5 files changed, 487 insertions(+), 487 deletions(-) > > delete mode 100644 drivers/clk/starfive/clk-starfive-jh7100.h > > create mode 100644 drivers/clk/starfive/clk-starfive-jh71x0.h > > > > diff --git a/drivers/clk/starfive/clk-starfive-jh7100-audio.c b/drivers/clk/starfive/clk-starfive-jh7100-audio.c > > index 8473a65e219b..02aefb7264f8 100644 > > --- a/drivers/clk/starfive/clk-starfive-jh7100-audio.c > > +++ b/drivers/clk/starfive/clk-starfive-jh7100-audio.c > > @@ -16,7 +16,7 @@ > > > > #include > > > > -#include "clk-starfive-jh7100.h" > > +#include "clk-starfive-jh71x0.h" > > > > /* external clocks */ > > #define JH7100_AUDCLK_AUDIO_SRC (JH7100_AUDCLK_END + 0) > > @@ -28,66 +28,66 @@ > > #define JH7100_AUDCLK_I2SDAC_LRCLK_IOPAD (JH7100_AUDCLK_END + 6) > > #define JH7100_AUDCLK_VAD_INTMEM (JH7100_AUDCLK_END + 7) > > > > -static const struct jh7100_clk_data jh7100_audclk_data[] = { > > - JH7100__GMD(JH7100_AUDCLK_ADC_MCLK, "adc_mclk", 0, 15, 2, > > +static const struct jh71x0_clk_data jh7100_audclk_data[] = { > > + JH71X0__GMD(JH7100_AUDCLK_ADC_MCLK, "adc_mclk", 0, 15, 2, > > Heh, I'm not sure what to think about these _s for alignment! Maybe it looks clearer. These code are made previously. > This one is a little harder to verify with my git show wizardary, but it > also looks like it does what it says on the tin. Might've been easier to > verify with git show if the renaming of variables and code movement had > been split. Should I split it? Best regards, Hal > Reviewed-by: Conor Dooley