of: Add of_phandle_args_equal() helper
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Mon, 29 Jan 2024 11:52:11 +0000 (12:52 +0100)
committerPhilipp Zabel <p.zabel@pengutronix.de>
Wed, 21 Feb 2024 10:53:24 +0000 (11:53 +0100)
commit26ea8511c849f9fea325bcdbd8b41ea031a53afe
tree84feaebbb955f40c9c4b2f721e13f783cea2cd63
parenta6166a4da5e46a01e6ad5b0bb079d77ac653f594
of: Add of_phandle_args_equal() helper

Add a helper comparing two "struct of_phandle_args" to avoid
reinventing the wheel.

Reviewed-by: Philipp Zabel <p.zabel@pengutronix.de>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20240129115216.96479-2-krzysztof.kozlowski@linaro.org
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
include/linux/of.h