diff options
author | Biju Das <biju.das.jz@bp.renesas.com> | 2025-04-10 07:20:38 +0100 |
---|---|---|
committer | Stephen Boyd <sboyd@kernel.org> | 2025-05-06 14:46:00 -0700 |
commit | 6064cfaa1ac495af423653cc2749340e131af64d (patch) | |
tree | 74bc421af58dcf7c29f70fb10f34dd991a71b2de /net/lapb/lapb_timer.c | |
parent | 73c46d9a93d071ca69858dea3f569111b03e549e (diff) |
clk: davinci: Use of_get_available_child_by_name()
Simplify of_davinci_pll_init() by using of_get_available_child_by_name().
While at it, move of_node_put(child) inside the if block to avoid
additional check if of_child is NULL.
Reviewed-by: David Lechner <david@lechnology.com>
Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
Link: https://lore.kernel.org/r/20250410062040.6346-1-biju.das.jz@bp.renesas.com
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions