Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp950232pxv; Fri, 25 Jun 2021 01:58:42 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzGAw3d/mIHXmmptrDJWAYbDram5PphJ9BPbdWTHHo1+FFUNMi50O51U0V4wrcwbO6QUizk X-Received: by 2002:a05:6638:1349:: with SMTP id u9mr4943414jad.43.1624611522146; Fri, 25 Jun 2021 01:58:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624611522; cv=none; d=google.com; s=arc-20160816; b=eKLEgc/0hJdRNe0F33543HQxLmKsxebjN8CA3LSLXWhhR+l+ILLIJdHvxnazC5P5FG XlqiHmupGxMYkDLbbeXO6/XoIaih94OGCkoLHKQ4zDB2L6oy1jDq1eTVabMCRZlyJW5E 8SdB1L2kYrt/ZJ2rpCMpsAYrgUFDLvbrJItDCZqtjI2XthAOjy/ikQ5PX8kXOR2FrdoK XyK9HOj89wx9MYo+2R7F6LBj24iqrgLGTGYGS0aEAXSc6zSrvlxG/lXqD8UByQel/IpM meSkD3uUJKj7CiPFdlbQ6uPKQxjDwXFllCPSJjs0MPcA+py3/ooIUCh2BcRsiTWvBISk mNaA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject; bh=jRXIeaeOx3jXxRwIgCp4ZlVoLA4Ti3/fi+cHDMypN1w=; b=PrPuVJPRaVj1c0NYX6r0ZPZDMcsTa+jGlIvGsgyJmcVDrj7CBL3RsCniWWKhQ6c7GV N6vniG8jPJzwULgLYyY7CdLaLzgwtxzdBurKl+YygNwDpN82hbf5y/JbzJZR3VmEhsdx pkGMDlw0JD0SQzkDaI+5GoQLbEhHCpvj32muii/OXQMCHVvu75CtRumRZOswO3AVckf2 nnzQLpnVTLDHmFIUBpV5ZHLFoPUBCqznB4vUNa3F2I38RoatS86TNiZX+AFhlwsmGDfq jcseInhuaDnFirlWLw+TCU87H9QqRA3A7k5udQouOIctAgb6+NetGPoPbzscS1Ur+RQp c3ow== 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=collabora.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l15si5578513iok.34.2021.06.25.01.58.30; Fri, 25 Jun 2021 01:58:42 -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=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230427AbhFYJAE (ORCPT + 99 others); Fri, 25 Jun 2021 05:00:04 -0400 Received: from bhuna.collabora.co.uk ([46.235.227.227]:53972 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229839AbhFYJAE (ORCPT ); Fri, 25 Jun 2021 05:00:04 -0400 Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: eballetbo) with ESMTPSA id 41BA21F44479 Subject: Re: [RESEND PATCH v2 4/4] soc: mediatek: pm-domains: Remove unused macro To: Chun-Jie Chen , Matthias Brugger , Nicolas Boichat , Rob Herring Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-mediatek@lists.infradead.org, srv_heupstream@mediatek.com, Project_Global_Chrome_Upstream_Group@mediatek.com References: <20210616000659.28347-1-chun-jie.chen@mediatek.com> <20210616000659.28347-5-chun-jie.chen@mediatek.com> From: Enric Balletbo i Serra Message-ID: Date: Fri, 25 Jun 2021 10:57:39 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 MIME-Version: 1.0 In-Reply-To: <20210616000659.28347-5-chun-jie.chen@mediatek.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Chun-Jie Chen, Thank you for your patch. On 16/6/21 2:06, Chun-Jie Chen wrote: > 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. >