Re: [PATCH] of: kobj: make of_node_is_(initialized|attached) parameters const

From: Rob Herring
Date: Wed Oct 20 2021 - 12:29:34 EST


On Thu, 14 Oct 2021 12:30:23 -0500, Nathan Lynch wrote:
> 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@xxxxxxxxxxxxx>
> ---
> drivers/of/kobj.c | 4 ++--
> drivers/of/of_private.h | 2 +-
> 2 files changed, 3 insertions(+), 3 deletions(-)
>

Applied, thanks!