Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp3339779pxj; Mon, 14 Jun 2021 21:39:21 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxWsOm1utgL13HlZKvWLotAgxexsv9n0T/WU+URX1vUd5pxdm4+4maU0qKOlY2BJSR6LIQv X-Received: by 2002:aa7:ca50:: with SMTP id j16mr20720397edt.158.1623731960963; Mon, 14 Jun 2021 21:39:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623731960; cv=none; d=google.com; s=arc-20160816; b=cJMqgsGRwO2jEEfe+oYRjGsFlvyqCJULet7yhBt45P74zM71yKMO0GgXgogGDIU+kC GUFhZW5QUHQD6Xu4aZHOQsRyN41h58VHgGcgoWdi/0+FhU52PI4Z6vPQ68U76c4WnMsk jGUNAs20LsAQuDKy93CKPRL7VeJs+gUnqvGSwBAKkdwDCHxkCQJ1U7iO+BJCGFl4silt kqGg/bECH7Zn/HnqEJ8slChTec7QyXG2ONuZCC8xA9rlezkJn0jsS//22aZibvj9XwFw vOJWe3iFEXXZgLhoKI3PNWpPpw1oDjnelQLJrJgT38Oq+anNqB9NEgZh66D0z2LdEpzI EqWA== 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=pkmyhPWAp5pHdzO303beqEB6CLmcjuU3DF3sirw/UjS00G7zc5cajTNZuqfgtvm2qh WdMvf00IKBhFHvy5RA8+GsC8MU0TQrsfJDTSNgbqozVPFSEEL9VfhE9g0W1WPlDevvwl 0qVQagxAe49ZtysfHIiN9v7F0Y9cwPwQ9sxy9eVhP2A4oBfAruiFBUuVd4xdvQhOeDuD 9qTgC0x7Hh+CcXdHqAHiBm73oyq7jAAK4Y0znWfCJ4RADc12NaWSyEu6aHZMrscNQR4H sYYGobwC3dI0h2vi4M+IjEsK+AoKCIP7gHZcRF/EKjm85UXwpcvW/7I/tHBUqdpuUF5y NKBg== 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 c11si13864734edt.322.2021.06.14.21.38.58; Mon, 14 Jun 2021 21:39:20 -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 S229946AbhFOEjR (ORCPT + 99 others); Tue, 15 Jun 2021 00:39:17 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:39441 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S229488AbhFOEjR (ORCPT ); Tue, 15 Jun 2021 00:39:17 -0400 X-UUID: 78e40e087f014655a02336ed96a4c73c-20210615 X-UUID: 78e40e087f014655a02336ed96a4c73c-20210615 Received: from mtkcas11.mediatek.inc [(172.21.101.40)] by mailgw02.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 1056129317; Tue, 15 Jun 2021 12:37:10 +0800 Received: from mtkcas11.mediatek.inc (172.21.101.40) by mtkmbs06n2.mediatek.inc (172.21.101.130) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Tue, 15 Jun 2021 12:37:08 +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; Tue, 15 Jun 2021 12:37:08 +0800 From: Chun-Jie Chen To: Enric Balletbo i Serra , Matthias Brugger , Nicolas Boichat , Rob Herring CC: , , , , , , Chun-Jie Chen Subject: [PATCH 4/4] soc: mediatek: pm-domains: Remove unused macro Date: Tue, 15 Jun 2021 12:36:03 +0800 Message-ID: <20210615043603.20412-5-chun-jie.chen@mediatek.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20210615043603.20412-1-chun-jie.chen@mediatek.com> References: <20210615043603.20412-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