soc: mediatek: pm-domains: Remove unused macro
authorChun-Jie Chen <chun-jie.chen@mediatek.com>
Sun, 30 Jan 2022 01:21:02 +0000 (09:21 +0800)
committerMatthias Brugger <matthias.bgg@gmail.com>
Mon, 28 Feb 2022 11:02:03 +0000 (12:02 +0100)
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 <chun-jie.chen@mediatek.com>
Reviewed-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://lore.kernel.org/r/20220130012104.5292-4-chun-jie.chen@mediatek.com
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
drivers/soc/mediatek/mtk-pm-domains.h

index c5ac649..089a316 100644 (file)
@@ -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.