diff options
author | Zijun Hu <quic_zijuhu@quicinc.com> | 2025-02-09 20:59:01 +0800 |
---|---|---|
committer | Rob Herring (Arm) <robh@kernel.org> | 2025-02-25 07:16:50 -0600 |
commit | 4bafd71a38c2f96901fee99325c4451161e4c9bd (patch) | |
tree | 2bfc4e3e338c7cdf1d2a9ff963e3e874390e5e62 | |
parent | 708124d9e6e7ac5ebf927830760679136b23fdf0 (diff) |
of/irq: Add comments about refcount for API of_irq_find_parent()
Add comments about refcount of the node returned by of_irq_find_parent().
Signed-off-by: Zijun Hu <quic_zijuhu@quicinc.com>
Link: https://lore.kernel.org/r/20250209-of_irq_fix-v2-8-93e3a2659aa7@quicinc.com
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
-rw-r--r-- | drivers/of/irq.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/of/irq.c b/drivers/of/irq.c index f5459ad50f36..f8ad79b9b1c9 100644 --- a/drivers/of/irq.c +++ b/drivers/of/irq.c @@ -55,8 +55,8 @@ EXPORT_SYMBOL_GPL(irq_of_parse_and_map); * of_irq_find_parent - Given a device node, find its interrupt parent node * @child: pointer to device node * - * Return: A pointer to the interrupt parent node, or NULL if the interrupt - * parent could not be determined. + * Return: A pointer to the interrupt parent node with refcount increased + * or NULL if the interrupt parent could not be determined. */ struct device_node *of_irq_find_parent(struct device_node *child) { |