devicetree.h: fix typo in docstring

The name of the chosen node existence check DT_HAS_CHOSEN is wrong.

Signed-off-by: Martí Bolívar <marti.bolivar@nordicsemi.no>
This commit is contained in:
Martí Bolívar 2020-03-28 17:03:04 -07:00 committed by Kumar Gala
commit 574ee1cd80

View file

@ -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