clk: at91: clk-main: drop parent_name check when registering main_rc oscillator
authorManikandan Muralidharan <manikandan.m@microchip.com>
Tue, 3 Jun 2025 05:05:51 +0000 (10:35 +0530)
committerEugen Hristev <eugen.hristev@linaro.org>
Thu, 19 Jun 2025 10:56:43 +0000 (13:56 +0300)
commited5ffbee4804aa67b78b53caa0bfd793c6f85d74
treed5b11287cdb0af0402c799f00516ea7afe18e7c2
parent107cf34bd799b868f3ec640d31567cd4a9bf7b81
clk: at91: clk-main: drop parent_name check when registering main_rc oscillator

The clk_register function logs an error if parent_name is missing from the
Device Tree.On the SAM9X7, the main_rc node is omitted to stay aligned with
the Linux Device Tree.Remove the parent_name check in at91_clk_main_rc()
to allow it to pass NULL when the parent is not specified.

Signed-off-by: Manikandan Muralidharan <manikandan.m@microchip.com>
drivers/clk/at91/clk-main.c