Home
last modified time | relevance | path

Searched hist:"6 effc8857b24350cb7534cb1029ade9a8573e04a" (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/of/
H A Dkobj.cdiff 6effc8857b24350cb7534cb1029ade9a8573e04a Thu Oct 14 19:30:23 CEST 2021 Nathan Lynch <nathanl@linux.ibm.com> of: kobj: make of_node_is_(initialized|attached) parameters const

of_node_is_initialized() and of_node_is_attached() don't modify the node
objects passed to them, so those parameters should be const.

Signed-off-by: Nathan Lynch <nathanl@linux.ibm.com>
Link: https://lore.kernel.org/r/20211014173023.2117799-1-nathanl@linux.ibm.com
Signed-off-by: Rob Herring <robh@kernel.org>
H A Dof_private.hdiff 6effc8857b24350cb7534cb1029ade9a8573e04a Thu Oct 14 19:30:23 CEST 2021 Nathan Lynch <nathanl@linux.ibm.com> of: kobj: make of_node_is_(initialized|attached) parameters const

of_node_is_initialized() and of_node_is_attached() don't modify the node
objects passed to them, so those parameters should be const.

Signed-off-by: Nathan Lynch <nathanl@linux.ibm.com>
Link: https://lore.kernel.org/r/20211014173023.2117799-1-nathanl@linux.ibm.com
Signed-off-by: Rob Herring <robh@kernel.org>