提交 dcbf6831 编写于 作者: C Chun-Jie Chen 提交者: Matthias Brugger

soc: mediatek: pm-domains: Remove unused macro

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: NChun-Jie Chen <chun-jie.chen@mediatek.com>
Reviewed-by: NEnric Balletbo i Serra <enric.balletbo@collabora.com>
Reviewed-by: NAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://lore.kernel.org/r/20220130012104.5292-4-chun-jie.chen@mediatek.comSigned-off-by: NMatthias Brugger <matthias.bgg@gmail.com>
上级 ac0ca395
......@@ -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.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册