diff options
author | 2025-04-17 06:43:04 +0100 | |
---|---|---|
committer | 2025-05-21 14:31:23 +0200 | |
commit | 56f3dc3ea4ab0c495bbdb402f2a9a12850a5e077 (patch) | |
tree | 6273bcf00476d64e74f8d9c8b3cce971878dc45f /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | dt-bindings: can: renesas,rcar-canfd: Document RZ/G3E support (diff) | |
download | wireguard-linux-56f3dc3ea4ab0c495bbdb402f2a9a12850a5e077.tar.xz wireguard-linux-56f3dc3ea4ab0c495bbdb402f2a9a12850a5e077.zip |
can: rcar_canfd: Use of_get_available_child_by_name()
Simplify rcar_canfd_probe() 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: Vincent Mailhol <mailhol.vincent@wanadoo.fr>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
Link: https://patch.msgid.link/20250417054320.14100-4-biju.das.jz@bp.renesas.com
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions