of: dynamic: Fix of_reconfig_get_state_change() return value documentation
authorLuca Ceresoli <luca.ceresoli@bootlin.com>
Thu, 23 Nov 2023 14:47:18 +0000 (15:47 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 13 Dec 2023 17:39:05 +0000 (18:39 +0100)
commitb536601d0520cf3b95a9ca32600db4334d9b1c3e
tree299fd3a8b14a95e3d35399c9d667558a3e0c76a2
parent76b9ea6f54ede83cf207e496e52dd6a195aa5a15
of: dynamic: Fix of_reconfig_get_state_change() return value documentation

[ Upstream commit d79972789d17499b6091ded2fc0c6763c501a5ba ]

The documented numeric return values do not match the actual returned
values. Fix them by using the enum names instead of raw numbers.

Fixes: b53a2340d0d3 ("of/reconfig: Add of_reconfig_get_state_change() of notifier helper.")
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Link: https://lore.kernel.org/r/20231123-fix-of_reconfig_get_state_change-docs-v1-1-f51892050ff9@bootlin.com
Signed-off-by: Rob Herring <robh@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/of/dynamic.c