From f2f89d17216d58ed45ccea686e8f11757496c10b Mon Sep 17 00:00:00 2001 From: Aymeric Aillet Date: Mon, 6 Dec 2021 16:38:15 +0100 Subject: [PATCH] devicetree: fix DT_FOREACH_STATUS_OKAY brief Remove mention to DT_DRV_COMPAT in brief since DT_FOREACH_STATUS_OKAY is not relying on it and is taking "compat" as argument. Signed-off-by: Aymeric Aillet --- include/devicetree.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/include/devicetree.h b/include/devicetree.h index 62a3a56796a..e75fc083248 100644 --- a/include/devicetree.h +++ b/include/devicetree.h @@ -2070,8 +2070,7 @@ DT_CAT4(node_id, _P_, prop, _FOREACH_PROP_ELEM_VARGS)(fn, __VA_ARGS__) /** - * @brief Call "fn" on all nodes with compatible DT_DRV_COMPAT - * and status "okay" + * @brief Invokes "fn" for each status "okay" node of a compatible. * * This macro expands to: *