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

Jinjie Ruan ruanjinjie at huawei.com
Mon Jun 3 04:16:31 PDT 2024



On 2024/6/3 18:31, Thomas Gleixner wrote:
> 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

Thank you, I will read the documentation carefully and change the commit
message as requested.

> 
> Thanks,
> 
>         tglx



More information about the linux-riscv mailing list