From 338ce50e1634b95f3a65dbb089340dcf357dc9e1 Mon Sep 17 00:00:00 2001 From: Anas Nashif Date: Sat, 8 Dec 2018 13:22:15 -0500 Subject: [PATCH] doc: doxygen group power management APIs Put all power management APIs under one group. Signed-off-by: Anas Nashif --- include/device.h | 7 ++++--- include/power.h | 11 +++++++++-- 2 files changed, 13 insertions(+), 5 deletions(-) diff --git a/include/device.h b/include/device.h index ee764227888..fac01a2354b 100644 --- a/include/device.h +++ b/include/device.h @@ -255,6 +255,10 @@ void _sys_device_do_config_level(s32_t level); */ __syscall struct device *device_get_binding(const char *name); +/** + * @} + */ + /** * @brief Device Power Management APIs * @defgroup device_power_management_api Device Power Management APIs @@ -446,7 +450,4 @@ int device_busy_check(struct device *chk_dev); #ifdef __cplusplus } #endif -/** - * @} - */ #endif /* ZEPHYR_INCLUDE_DEVICE_H_ */ diff --git a/include/power.h b/include/power.h index b134a4a6a2b..3614e68f01f 100644 --- a/include/power.h +++ b/include/power.h @@ -22,10 +22,17 @@ extern "C" { extern unsigned char _sys_pm_idle_exit_notify; + /** - * @brief Power Management Hook Interface + * @defgroup power_management_api Power Management + * @{ + * @} + */ + +/** + * @brief Power Management Hooks * - * @defgroup power_management_hook_interface Power Management Hook Interface + * @defgroup power_management_hook_interface Power Management Hooks * @ingroup power_management_api * @{ */