Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp1701088pxb; Mon, 23 Aug 2021 02:28:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwbRSHntX9iRxgNXEe6/1jM6OhYUOji061JXHdAglKmVOm6U8Km64iwretYNcIGGyRYpRQE X-Received: by 2002:a05:6402:70c:: with SMTP id w12mr35329458edx.288.1629710914776; Mon, 23 Aug 2021 02:28:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629710914; cv=none; d=google.com; s=arc-20160816; b=ptt0k7SGmfP0VeDmtVRgi4AJEsnVN6gTzEbtD+tUQU9aod9XyeJyAWM4tF2Akk1UXz REw7I4NuelXHPtZQ64r09Wf4vXhScfmCJWLsxOEz4xS8YNt0vhxdObaCNrdVx6h9Z0+l aaP98DLAtC4dniBbuRtBJRiA02vh6UkSnc71sZ4gHK+oBdulWLQTqUw4uYarQtUWjd7J SFy7A2adZalGgnu2h+kPe+TADeWFmVP8UkqueI3/pnexexblkZf0zN2SvdtfSgsoOuVO 028aahSLso3hq+ykFCbCRXEWTeyFDjrV7daVgxDRTBoIZEXdC3hK6kxkxMwNG+650mEq Z+Jg== 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=TniiO00ePOADHUXXWjyX7lRwA/4N5aob9g8wHz9WCn8=; b=HYDHMMuEVs0nf5P4gYMAsjwDlle2p7SDLrKPKncf/XkIWl9IRvjRIDWEbY119XUBWT +sDl0m9iHe8cEkyL/g0CO9MI+s/Z4eywfhRhUy5LCd25m6YjtOK59ABWI7mixXZQNtBt oI9rctyyqfVypdZ+kWEkqn9+OtPW95KX2AxHAgbWSzJUAxR9aczHTZsOYnLDhlCyhsaf NRYsyMAJ7uwb5aVY1OFBNvHl4fd61aafxVbQzlLLpl9mxEzcXRIr/u/t1h/cRtXKXcOc dfgJ6D3/1UxLRY1BMcf0LGYy+GE3Z25jYT3A4wPbLDJKz6m5ME1G99aUhxB98aBDy0dZ YtPQ== 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 v1si17256406ejd.643.2021.08.23.02.28.11; Mon, 23 Aug 2021 02:28:34 -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 S235851AbhHWJZK (ORCPT + 99 others); Mon, 23 Aug 2021 05:25:10 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:45314 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S235847AbhHWJZJ (ORCPT ); Mon, 23 Aug 2021 05:25:09 -0400 X-UUID: 272dd66a36d24eebb8a4fc79ea094b40-20210823 X-UUID: 272dd66a36d24eebb8a4fc79ea094b40-20210823 Received: from mtkexhb01.mediatek.inc [(172.21.101.102)] by mailgw02.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 124970556; Mon, 23 Aug 2021 17:24:25 +0800 Received: from mtkcas07.mediatek.inc (172.21.101.84) by mtkmbs07n1.mediatek.inc (172.21.101.16) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 23 Aug 2021 17:24:24 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by mtkcas07.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Mon, 23 Aug 2021 17:24:24 +0800 From: Chun-Jie Chen To: Enric Balletbo Serra , Matthias Brugger , Nicolas Boichat , Rob Herring CC: , , , , , , Chun-Jie Chen Subject: [v4 3/5] soc: mediatek: pm-domains: Remove unused macro Date: Mon, 23 Aug 2021 17:23:51 +0800 Message-ID: <20210823092353.3502-4-chun-jie.chen@mediatek.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20210823092353.3502-1-chun-jie.chen@mediatek.com> References: <20210823092353.3502-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 21a4e113bbec..1e033bde0629 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