Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Zijun Hu and committed by
Rob Herring (Arm)
4bafd71a 708124d9

+2 -2
+2 -2
drivers/of/irq.c
··· 55 55 * of_irq_find_parent - Given a device node, find its interrupt parent node 56 56 * @child: pointer to device node 57 57 * 58 - * Return: A pointer to the interrupt parent node, or NULL if the interrupt 59 - * parent could not be determined. 58 + * Return: A pointer to the interrupt parent node with refcount increased 59 + * or NULL if the interrupt parent could not be determined. 60 60 */ 61 61 struct device_node *of_irq_find_parent(struct device_node *child) 62 62 {