pm: device: hide struct pm_device from docs

This structure is meant for internal usage, same as its initializer.

Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
This commit is contained in:
Gerard Marull-Paretas 2021-10-29 16:07:22 +02:00 committed by Carles Cufí
commit 6bb9cab0ef

View file

@ -74,6 +74,8 @@ enum pm_device_action {
PM_DEVICE_ACTION_FORCE_SUSPEND,
};
/** @cond INTERNAL_HIDDEN */
/**
* @brief Device PM action callback.
*
@ -125,7 +127,7 @@ struct pm_device {
/**
* @brief Utility macro to initialize #pm_device.
*
* @note DT_PROP_OR is used to retrieve the wakeup_source property because
* @note #DT_PROP_OR is used to retrieve the wakeup_source property because
* it may not be defined on all devices.
*
* @param obj Name of the #pm_device structure being initialized.
@ -143,6 +145,8 @@ struct pm_device {
(0)) << PM_DEVICE_FLAG_WS_CAPABLE), \
}
/** @endcond */
/**
* @brief Get name of device PM state
*