Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp4163211pxj; Tue, 15 Jun 2021 17:12:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz7Lzbd7+ZDkou4EbtbO6ydMZ0lvgAEgE67ILUt8GD4EhJxW71aMwMrcuhm73wwTAOc/bid X-Received: by 2002:a05:6402:13d7:: with SMTP id a23mr846657edx.120.1623802328369; Tue, 15 Jun 2021 17:12:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623802328; cv=none; d=google.com; s=arc-20160816; b=gUyTTO2nW3c8fMKUr0TtZUgr0LzKOEUlSsaforY/f1fw471PogpzcnmUEVpkz1zxGl xrO5NpjYhJKoDvFqSp1p03/MYyg5Bh9Ame2Ro+RUFY8SAry8I8geJxHw26bRIwJfvnck Eslkgt5wudpHf6qZ/0UMhQAQ4/i3sKYMwDftqoxMIkHQgb+3aifdLGzxILnTa8MRiQj4 pJqFX5nhvdkrP1Kyo+d9mZ6l3Cmz3HvaTHC7RTHgwJlDwvw0WC3oKDHbKoJa/kFM7z5F 7/cWyYM995h1irjQORd2vi1koYJXNxqLu+arux+Ky1CO44XoM4hReUuG6ddq4b1OfTUp 6I0Q== 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=5jXJ0DArkYI85NrdWYNlJ3H2/UPDIrlCL+XIK/yuUkk=; b=J9c/H9i6fprjI1+wi/yZ17j3nSfzBoZMOUE4GJ/EUQmtxG8eO3KVpv7hq64UaCi6Ot ckNCUJ+wSay3qcKoGNcx8q/rZ5JR4bpBWMCk9aa4cceVqACqSBUaZhhwNpvjJwpQAlL4 imF30/lHOsuK4ZNGN7+TF8OKHACywec66akJjJKN7nP5HTip238mH/IjiEe3+pFeYqBH T+FTSmUR/qEtg/15cg8wgNHN7ql+qZcewMpl8ZbvVVXhcNNE/Lhe24clA69z/KmoUmgY zPG+wv/6pr4YV5WOFVCPiEg73Sc7MblyPuaQgmesaxrvZN77vYEreS7aaKpfegYwRwQF unkA== 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 yc9si481890ejb.713.2021.06.15.17.11.46; Tue, 15 Jun 2021 17:12:08 -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 S231730AbhFPAJv (ORCPT + 99 others); Tue, 15 Jun 2021 20:09:51 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:34971 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S231725AbhFPAJt (ORCPT ); Tue, 15 Jun 2021 20:09:49 -0400 X-UUID: e98eac024ef040cf86326b6133403fc9-20210616 X-UUID: e98eac024ef040cf86326b6133403fc9-20210616 Received: from mtkcas10.mediatek.inc [(172.21.101.39)] by mailgw02.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 797003582; Wed, 16 Jun 2021 08:07:41 +0800 Received: from mtkcas11.mediatek.inc (172.21.101.40) by mtkmbs06n1.mediatek.inc (172.21.101.129) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 16 Jun 2021 08:07:40 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by mtkcas11.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Wed, 16 Jun 2021 08:07:40 +0800 From: Chun-Jie Chen To: Enric Balletbo i Serra , Matthias Brugger , Nicolas Boichat , Rob Herring CC: , , , , , , Chun-Jie Chen Subject: [RESEND PATCH v2 4/4] soc: mediatek: pm-domains: Remove unused macro Date: Wed, 16 Jun 2021 08:06:58 +0800 Message-ID: <20210616000659.28347-5-chun-jie.chen@mediatek.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20210616000659.28347-1-chun-jie.chen@mediatek.com> References: <20210616000659.28347-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 --- 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