|
67 | 67 |
|
68 | 68 | #ifdef CONFIG_PM |
69 | 69 |
|
70 | | -/**************************************************************************** |
71 | | - * Pre-processor Definitions |
72 | | - ****************************************************************************/ |
73 | | - |
74 | | -#ifdef CONFIG_MM_KERNEL_HEAP |
75 | | -#define pm_alloc(num, size) kmm_calloc(num, size) |
76 | | -#else |
77 | | -#define pm_alloc(num, size) calloc(num, size) |
78 | | -#endif |
79 | | - |
80 | 70 | /* Function-like macros *****************************************************/ |
81 | 71 | /**************************************************************************** |
82 | 72 | * Name: pm_lock |
@@ -171,23 +161,6 @@ EXTERN struct pm_global_s g_pmglobals; |
171 | 161 | /************************************************************************************ |
172 | 162 | * Public Function Prototypes |
173 | 163 | ************************************************************************************/ |
174 | | -/**************************************************************************** |
175 | | - * Name: pm_check_domain |
176 | | - * |
177 | | - * Description: |
178 | | - * This function is called inside PM internal APIs to check whether the |
179 | | - * domain pointer is valid. |
180 | | - * |
181 | | - * Input Parameters: |
182 | | - * domain - Pointer to the domain structure |
183 | | - * |
184 | | - * Returned Value: |
185 | | - * 0 (OK) - If domain is valid |
186 | | - * -1 (ERROR) - If domain is not valid |
187 | | - * |
188 | | - ****************************************************************************/ |
189 | | -int pm_check_domain(FAR struct pm_domain_s *domain); |
190 | | - |
191 | 164 | /**************************************************************************** |
192 | 165 | * Name: pm_checkstate |
193 | 166 | * |
|
0 commit comments