From patchwork Mon Apr 18 16:22:25 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bryan O'Donoghue X-Patchwork-Id: 563794 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6BA9CC433F5 for ; Mon, 18 Apr 2022 16:22:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346126AbiDRQZP (ORCPT ); Mon, 18 Apr 2022 12:25:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55774 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346111AbiDRQZO (ORCPT ); Mon, 18 Apr 2022 12:25:14 -0400 Received: from mail-wm1-x32a.google.com (mail-wm1-x32a.google.com [IPv6:2a00:1450:4864:20::32a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 05F962ED5C for ; Mon, 18 Apr 2022 09:22:34 -0700 (PDT) Received: by mail-wm1-x32a.google.com with SMTP id p189so9006986wmp.3 for ; Mon, 18 Apr 2022 09:22:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=lYBPOVL6x66k/bxtNREKz2fmvlBcDB8DuOF98iZHrOc=; b=H/W+EYl/rlZyMOmpiuMDmJbF1jp9G199cObhKekWffXi6E6owPKKP+eao41BeSLvj7 6XNOMHD94aXZLDp+2qoHdg0Ud5SqPfNlhHp8hDu/5A18MwJNy88Q/UiyCRLqozWOsS0i KIaigX3RsVp47pJi3e5dN019ORhl9O3xl0WsdBHN3xFq67iaZxIGS5rZ7zclAZHdEpoD hLZtP1vjDoX+P9uuPwAs491z6gDFjFjsFU09YdS72lQychJrCKgSBEAAuBiaRvt7IgTe WPCfnPLB6KPSR8KsJJ0bIjEAbBqF9s5E6wSOFu7zOu/vRw1paWKJjfb1sgBBlNBKT/WS U+pA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=lYBPOVL6x66k/bxtNREKz2fmvlBcDB8DuOF98iZHrOc=; b=44WIY5dHPbXKS4u6HwkDnnZHKLH952zq+j1xUmCiq8S//6uKww+klFRQxURzjLZ/2C OY6VwW9trK0/uomkmW6QOXKlkJL4vcXdOgXwSPEGYbOpVFsx2YxIlTU7NGOqUG1KmBrU gkZLShfUOEuhOy24y2a0z9Z4h/cFplEJPI1874lNUp10jS52JRNFkf4L9MHMy1OVdLYN Qcg0wt8ti1fpLGljX3vBlWT/45J47/YA+z/I7OqH3MtrC40seKTrsfZ5XPuPv2rG1PZv tv/U2lc13QZckzgF/C2fcgWpU3p7jgtFycTTbZdfZeN8xE4japwX9/Jf3Vnk1uuZc4x7 eJww== X-Gm-Message-State: AOAM531q6v1OTLDLyy8n9DQPgmllk9im4HUM56BWESQEhdosZpycw0IK VYzoscHfspVWjID0ezFFe2bTfRpjsrxDCw== X-Google-Smtp-Source: ABdhPJyOVrbket2OpEj+2flQCtnAETQV07N44amoywIWEePShii7RC9VNKWoENhiNSOenoFiwxkMjg== X-Received: by 2002:a05:600c:1e89:b0:390:ba57:81c6 with SMTP id be9-20020a05600c1e8900b00390ba5781c6mr12153957wmb.29.1650298952648; Mon, 18 Apr 2022 09:22:32 -0700 (PDT) Received: from sagittarius-a.chello.ie (188-141-3-169.dynamic.upc.ie. [188.141.3.169]) by smtp.gmail.com with ESMTPSA id 205-20020a1c02d6000000b003928c42d02asm8460853wmc.23.2022.04.18.09.22.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Apr 2022 09:22:32 -0700 (PDT) From: Bryan O'Donoghue To: agross@kernel.org, bjorn.andersson@linaro.org, ilia.lin@kernel.org, rafael@kernel.org Cc: linux-arm-msm@vger.kernel.org, linux-pm@vger.kernel.org, bryan.odonoghue@linaro.org Subject: [PATCH 4/5] cpufreq: qcom-cpufreq-nvmem: Rename qcs404 data to cpr_genpd Date: Mon, 18 Apr 2022 17:22:25 +0100 Message-Id: <20220418162226.2983117-5-bryan.odonoghue@linaro.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220418162226.2983117-1-bryan.odonoghue@linaro.org> References: <20220418162226.2983117-1-bryan.odonoghue@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org At the moment the CPR genpd based code is named after the qcs404 however msm8936, msm8939 and other antecedent processors of the qcs404 can also make use of this data. Rename it to reflect a more generic use. Signed-off-by: Bryan O'Donoghue --- drivers/cpufreq/qcom-cpufreq-nvmem.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/cpufreq/qcom-cpufreq-nvmem.c b/drivers/cpufreq/qcom-cpufreq-nvmem.c index 6dfa86971a75..355c8b99e974 100644 --- a/drivers/cpufreq/qcom-cpufreq-nvmem.c +++ b/drivers/cpufreq/qcom-cpufreq-nvmem.c @@ -252,10 +252,10 @@ static const struct qcom_cpufreq_match_data match_data_krait = { .get_version = qcom_cpufreq_krait_name_version, }; -static const char *qcs404_genpd_names[] = { "cpr", NULL }; +static const char *cpr_genpd_names[] = { "cpr", NULL }; -static const struct qcom_cpufreq_match_data match_data_qcs404 = { - .genpd_names = qcs404_genpd_names, +static const struct qcom_cpufreq_match_data match_data_cpr_genpd = { + .genpd_names = cpr_genpd_names, }; static int qcom_cpufreq_probe(struct platform_device *pdev) @@ -454,7 +454,7 @@ static struct platform_driver qcom_cpufreq_driver = { static const struct of_device_id qcom_cpufreq_match_list[] __initconst = { { .compatible = "qcom,apq8096", .data = &match_data_kryo }, { .compatible = "qcom,msm8996", .data = &match_data_kryo }, - { .compatible = "qcom,qcs404", .data = &match_data_qcs404 }, + { .compatible = "qcom,qcs404", .data = &match_data_cpr_genpd }, { .compatible = "qcom,ipq8064", .data = &match_data_krait }, { .compatible = "qcom,apq8064", .data = &match_data_krait }, { .compatible = "qcom,msm8974", .data = &match_data_krait },