Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp3530835pxv; Sun, 4 Jul 2021 22:44:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyp3tew6WH3xzuavJ8W8IsFP8m7NmxMyyzB0diKUwNO699U6cLw9xLAyc7qfWrqTzg8NTaV X-Received: by 2002:a05:6402:84f:: with SMTP id b15mr14450972edz.356.1625463839960; Sun, 04 Jul 2021 22:43:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1625463839; cv=none; d=google.com; s=arc-20160816; b=0gfLshMmuWFySxMIXyaE2cbqd9GSGcqz1mveWRmOLcmjAyEcmEtS8zPt+RH/KiH5AF NDNMTf/J8OwYacDfzPRmwxpV34MK0XKAIbvlF4LBvbOpnlA2X4YVsrsx88jy8LAwN27C DZEUQO/Rs/gL04xvA1vEUdRvlRjfBUW16XH/iGuVWdD3QxNX7NszcvKKa2deXaUSw7e+ wTTm2jOMqh6mHkalphIzHUIfu3SAtCohAch/chgeOEZkBNk1JYanqyGNZcv1U0vc76o9 VdbXbhXCMjQjIuG+si3xSsVRMILor3GK4C6fJ+vKqjhy7wJIvxSQ4NqGFS6Cn1VCa/gg 1pqQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from; bh=E6pRkA0yTBeCOlSZrSr3pXNiRPq4TKZivaUHa3a5C2U=; b=VH7KA0m6HQ3liPhWke7CWta2dGn6PFGrY62J83dKdR3QtOmKhHD+62oxJ3RcaZpkOb 8jE6XxaRcr2M/+HoGru3BSDfZlAiItEhCtO1zLxHU0p3Uu4mNL+QRoIS3GPH95L4w47X NMppRA57dNbPjPLRNSg2un1Q75x7fbTWCRSlnV3OCFysqZ60icZCNirt//n7TZdJKzXN T1h3LBb/WA174WPb5769VZHUERCKtYSNhkaxR0ue/b2dbo35DTTB0F473iP69h4Z85Mc MLsqqGvYLT/G/pWNhbGiWdqvd2A3Gpo7gMRPwWyAL7L5nn48A6fuE+sIFgVZDiAvYoiH mHrg== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 1si10574706eje.566.2021.07.04.22.43.36; Sun, 04 Jul 2021 22:43:59 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229873AbhGEFoR (ORCPT + 99 others); Mon, 5 Jul 2021 01:44:17 -0400 Received: from mailgw01.mediatek.com ([60.244.123.138]:49991 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S229956AbhGEFoM (ORCPT ); Mon, 5 Jul 2021 01:44:12 -0400 X-UUID: 5d91e30e047643abb0e7ff5004960073-20210705 X-UUID: 5d91e30e047643abb0e7ff5004960073-20210705 Received: from mtkcas07.mediatek.inc [(172.21.101.84)] by mailgw01.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 2053183439; Mon, 05 Jul 2021 13:41:32 +0800 Received: from MTKCAS06.mediatek.inc (172.21.101.30) by mtkmbs06n2.mediatek.inc (172.21.101.130) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 5 Jul 2021 13:41:32 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by MTKCAS06.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Mon, 5 Jul 2021 13:41:31 +0800 From: Chun-Jie Chen To: Enric Balletbo i Serra , Matthias Brugger , Nicolas Boichat , Rob Herring CC: , , , , , , Chun-Jie Chen Subject: [v3 5/5] soc: mediatek: pm-domains: Remove unused macro Date: Mon, 5 Jul 2021 13:41:11 +0800 Message-ID: <20210705054111.4473-6-chun-jie.chen@mediatek.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20210705054111.4473-1-chun-jie.chen@mediatek.com> References: <20210705054111.4473-1-chun-jie.chen@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain X-MTK: N Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Due to clk resource data will be allocated dynamically by searching parent count of clk in power domain node, so remove the unused marco MAX_SUBSYS_CLKS for static allocation. Signed-off-by: Chun-Jie Chen Reviewed-by: Enric Balletbo i Serra --- drivers/soc/mediatek/mtk-pm-domains.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/soc/mediatek/mtk-pm-domains.h b/drivers/soc/mediatek/mtk-pm-domains.h index caaa38100093..1b8967b9829e 100644 --- a/drivers/soc/mediatek/mtk-pm-domains.h +++ b/drivers/soc/mediatek/mtk-pm-domains.h @@ -72,8 +72,6 @@ struct scpsys_bus_prot_data { bool ignore_clr_ack; }; -#define MAX_SUBSYS_CLKS 10 - /** * struct scpsys_domain_data - scp domain data for power on/off flow * @name: The name of the power domain. -- 2.18.0