From 5e369396646700cae3faa746594739892d7b7cd6 Mon Sep 17 00:00:00 2001 From: David Leach Date: Mon, 13 Dec 2021 23:49:23 -0600 Subject: [PATCH] pm: device: fix comment reference to DT_INVALID_NODE Comment block for Z_PM_DEVICE_DEFINE had an incorrect reference to DT_INVALID_NODE. Using DT_NODE_INVALID which isn't defined. Signed-off-by: David Leach --- include/pm/device.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/pm/device.h b/include/pm/device.h index 5884c32900f..f9df34836e4 100644 --- a/include/pm/device.h +++ b/include/pm/device.h @@ -172,7 +172,7 @@ struct pm_device { /** * Define device PM resources for the given node identifier. * - * @param node_id Node identifier (DT_NODE_INVALID if not a DT device). + * @param node_id Node identifier (DT_INVALID_NODE if not a DT device). * @param dev_name Device name. * @param pm_action_cb PM control callback. */