From 574ee1cd80a9148313016590407bcbe4e457cd12 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mart=C3=AD=20Bol=C3=ADvar?= Date: Sat, 28 Mar 2020 17:03:04 -0700 Subject: [PATCH] devicetree.h: fix typo in docstring MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The name of the chosen node existence check DT_HAS_CHOSEN is wrong. Signed-off-by: Martí Bolívar --- include/devicetree.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/devicetree.h b/include/devicetree.h index 82d37d40d2f..9a039666a21 100644 --- a/include/devicetree.h +++ b/include/devicetree.h @@ -797,7 +797,7 @@ /** * @brief Get a node identifier for a /chosen node property - * This is only valid to call if DT_HAS_CHOSEN_NODE(prop) is 1. + * This is only valid to call if DT_HAS_CHOSEN(prop) is 1. * @param prop lowercase-and-underscores property name for * the /chosen node * @return a node identifier for the chosen node property