[PATCH] irqchip/riscv-aplic: Simplify the to_of_node code

Thomas Gleixner tglx at linutronix.de
Mon Jun 3 03:31:47 PDT 2024


On Mon, May 27 2024 at 12:50, Jinjie Ruan wrote:
> The to_of_node has is_of_node check, so there is no need to repeat the
> is_of_node and to_of_node. And if is_of_node is false, the to_of_node will
> return NULL, the of_property_present will also return NULL, so remove the
> redundant check.

Please read:

https://www.kernel.org/doc/html/latest/process/maintainer-tip.html#function-references-in-changelogs

Thanks,

        tglx



More information about the linux-riscv mailing list