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 X-Spam-Level: X-Spam-Status: No, score=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C9690C433B4 for ; Thu, 20 May 2021 04:41:38 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id A7F0160231 for ; Thu, 20 May 2021 04:41:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229598AbhETEm5 (ORCPT ); Thu, 20 May 2021 00:42:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36184 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229449AbhETEmz (ORCPT ); Thu, 20 May 2021 00:42:55 -0400 Received: from mail-pj1-x1031.google.com (mail-pj1-x1031.google.com [IPv6:2607:f8b0:4864:20::1031]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CF07CC061574 for ; Wed, 19 May 2021 21:41:33 -0700 (PDT) Received: by mail-pj1-x1031.google.com with SMTP id j6-20020a17090adc86b02900cbfe6f2c96so4600101pjv.1 for ; Wed, 19 May 2021 21:41: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:mime-version :content-transfer-encoding; bh=nekcyqt8slKf0il2RVdbXCValEx/1aJ6m5AGD2qejqc=; b=S59sn/IdnGlOHJ+pk7c/Vc1FAGzbIRCuqBZ+5tVlRsEKCRucH6zw8WcnFhDqEq8n9E Eq8UXNTlgHYX0Y/p7X+nTRard8TUK2d9FatfoOAyPG5NPU22DN2qsWmiSUTcHbaOkYHK mm2SZVBezhrdhZkUkva3XHLtM1ZJbV2fS9RYNphViMzxqKt/+lT1sBP1xhxs4ClO9Tt9 a+VmbWG8m61BDFA/CZDvy7JlUxBBmR81OuqzxmsEf8fQfVuvezuGAMTv4Q8i7NUIoI/u 6K+AekbwRfLzJya0ld66603RqcDlnWRcmAY/5fO2Xx/FS/jhpZx6f0FKgv2wGM0X9U7u IybQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=nekcyqt8slKf0il2RVdbXCValEx/1aJ6m5AGD2qejqc=; b=b974Y2n91Okmq25lw7hv4yCf+a22nXIR7/lTt0j5wgYy1ApB62tgXdZSyi9GytpZK8 zjkm2mPoY1Dkbk9n2pGcNfCRqeEUhVWiDfkZiPQwwEpKS8Y/j2qQa1M92XgXxPASy8F/ 9hb8bH2pxUJrC52Fh6kq7dJ2rYNSdHuVdIbCyROlVTD5tsvgMDgEsG/kCxlHtq3qoV0k g9xRZ0qX3OCmG8ZYhu33i4Yw2kylbqA3XFfPW//scPFTd4xxsX77WvEInvpndBifKs0k xTTx35lNqRmev5A6Lqrg+76abliNkFxfnhlL6Dc0wWEge9KthlPQvPY2OXo0vBjL2OEe e6qg== X-Gm-Message-State: AOAM533gNb0yEIMp6unofrmFESToFXr4qrsJhOQ59pQuWDbNmwdL6TwJ Va1QQX/T3aFX8yPfwdpGu+Bt0Q== X-Google-Smtp-Source: ABdhPJzPcQMpepM6NfQu5R+VN+7n4BOFRcVd6kuxVtxCoqphEG4YGKIqou6wpC+PjXEzCPklFrP2zA== X-Received: by 2002:a17:902:7847:b029:ef:4421:6a2e with SMTP id e7-20020a1709027847b02900ef44216a2emr3564340pln.44.1621485693039; Wed, 19 May 2021 21:41:33 -0700 (PDT) Received: from localhost ([136.185.154.93]) by smtp.gmail.com with ESMTPSA id n11sm842295pff.96.2021.05.19.21.41.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 19 May 2021 21:41:32 -0700 (PDT) From: Viresh Kumar To: Rafael Wysocki , Viresh Kumar Cc: linux-pm@vger.kernel.org, Vincent Guittot , linux-kernel@vger.kernel.org Subject: [PATCH] cpufreq: dt: Rename black/white-lists Date: Thu, 20 May 2021 10:11:28 +0530 Message-Id: <3741541ed1162033394663894de2f8d8554334f1.1621485236.git.viresh.kumar@linaro.org> X-Mailer: git-send-email 2.31.1.272.g89b43f80a514 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Rename them in accordance with the coding guidelines. Signed-off-by: Viresh Kumar --- drivers/cpufreq/cpufreq-dt-platdev.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/cpufreq/cpufreq-dt-platdev.c b/drivers/cpufreq/cpufreq-dt-platdev.c index 0bb10402f02c..bef7528aecd3 100644 --- a/drivers/cpufreq/cpufreq-dt-platdev.c +++ b/drivers/cpufreq/cpufreq-dt-platdev.c @@ -15,7 +15,7 @@ * Machines for which the cpufreq device is *always* created, mostly used for * platforms using "operating-points" (V1) property. */ -static const struct of_device_id whitelist[] __initconst = { +static const struct of_device_id allowlist[] __initconst = { { .compatible = "allwinner,sun4i-a10", }, { .compatible = "allwinner,sun5i-a10s", }, { .compatible = "allwinner,sun5i-a13", }, @@ -100,7 +100,7 @@ static const struct of_device_id whitelist[] __initconst = { * Machines for which the cpufreq device is *not* created, mostly used for * platforms using "operating-points-v2" property. */ -static const struct of_device_id blacklist[] __initconst = { +static const struct of_device_id blocklist[] __initconst = { { .compatible = "allwinner,sun50i-h6", }, { .compatible = "arm,vexpress", }, @@ -179,13 +179,13 @@ static int __init cpufreq_dt_platdev_init(void) if (!np) return -ENODEV; - match = of_match_node(whitelist, np); + match = of_match_node(allowlist, np); if (match) { data = match->data; goto create_pdev; } - if (cpu0_node_has_opp_v2_prop() && !of_match_node(blacklist, np)) + if (cpu0_node_has_opp_v2_prop() && !of_match_node(blocklist, np)) goto create_pdev; of_node_put(np); -- 2.31.1.272.g89b43f80a514