Skip to content

Commit 6c6ae70

Browse files
committed
clk: renesas: cpg-mssr: Remove obsolete nullify check
All core clock nullify users and helpers were removed in commit b1dec4e ("clk: renesas: rcar-gen3: Disable R-Car H3 ES1.*"), but the CPG/MSSR driver still checks for nullified core clocks. Remove the obsolete check. Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Link: https://lore.kernel.org/59ef3eccde0b0b63626480f27e77d5c68948ca98.1740126560.git.geert+renesas@glider.be
1 parent 4d69529 commit 6c6ae70

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

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

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -338,11 +338,6 @@ static void __init cpg_mssr_register_core_clk(const struct cpg_core_clk *core,
338338
WARN_DEBUG(id >= priv->num_core_clks);
339339
WARN_DEBUG(PTR_ERR(priv->clks[id]) != -ENOENT);
340340

341-
if (!core->name) {
342-
/* Skip NULLified clock */
343-
return;
344-
}
345-
346341
switch (core->type) {
347342
case CLK_TYPE_IN:
348343
clk = of_clk_get_by_name(priv->np, core->name);

0 commit comments

Comments
 (0)