mirror of
https://github.com/torvalds/linux.git
synced 2026-03-13 23:46:14 +01:00
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>
This commit is contained in:
parent
708124d9e6
commit
4bafd71a38
1 changed files with 2 additions and 2 deletions
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue