devicetree: fix DT_GPIO_CTLR docstring
This returns a node identifier, not a label. Signed-off-by: Martí Bolívar <marti.bolivar@nordicsemi.no>
This commit is contained in:
parent
dbad2627c8
commit
877924cd23
1 changed files with 2 additions and 1 deletions
|
@ -58,7 +58,8 @@ extern "C" {
|
||||||
* @param node_id node identifier
|
* @param node_id node identifier
|
||||||
* @param gpio_pha lowercase-and-underscores GPIO property with
|
* @param gpio_pha lowercase-and-underscores GPIO property with
|
||||||
* type "phandle-array"
|
* type "phandle-array"
|
||||||
* @return the label property of the node referenced at index 0
|
* @return a node identifier for the gpio controller at index 0
|
||||||
|
* in "gpio_pha"
|
||||||
* @see DT_GPIO_CTLR_BY_IDX()
|
* @see DT_GPIO_CTLR_BY_IDX()
|
||||||
*/
|
*/
|
||||||
#define DT_GPIO_CTLR(node_id, gpio_pha) \
|
#define DT_GPIO_CTLR(node_id, gpio_pha) \
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue