Skip to content

Commit da437d2

Browse files
committed
clk: renesas: cpg-mssr: Drop check for CONFIG_PM_GENERIC_DOMAINS_OF
As of commit 71d076c ("ARM: shmobile: Enable PM and PM_GENERIC_DOMAINS for SoCs with PM Domains"), CONFIG_PM_GENERIC_DOMAINS_OF is always enabled for SoCs with a CPG/MSSR block. Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
1 parent 848fc67 commit da437d2

1 file changed

Lines changed: 0 additions & 11 deletions

File tree

‎drivers/clk/renesas/renesas-cpg-mssr.c‎

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -381,8 +381,6 @@ static void __init cpg_mssr_register_mod_clk(const struct mssr_mod_clk *mod,
381381
kfree(clock);
382382
}
383383

384-
385-
#ifdef CONFIG_PM_GENERIC_DOMAINS_OF
386384
struct cpg_mssr_clk_domain {
387385
struct generic_pm_domain genpd;
388386
struct device_node *np;
@@ -497,15 +495,6 @@ static int __init cpg_mssr_add_clk_domain(struct device *dev,
497495
of_genpd_add_provider_simple(np, genpd);
498496
return 0;
499497
}
500-
#else
501-
static inline int cpg_mssr_add_clk_domain(struct device *dev,
502-
const unsigned int *core_pm_clks,
503-
unsigned int num_core_pm_clks)
504-
{
505-
return 0;
506-
}
507-
#endif /* !CONFIG_PM_GENERIC_DOMAINS_OF */
508-
509498

510499
static const struct of_device_id cpg_mssr_match[] = {
511500
#ifdef CONFIG_ARCH_R8A7795

0 commit comments

Comments
 (0)