kernel: rename k_object_grant_access()
Zephyr naming convention is to have the verb last. Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
This commit is contained in:
parent
927cdf9c32
commit
217017c924
3 changed files with 4 additions and 6 deletions
|
@ -227,7 +227,7 @@ void _k_object_init(void *obj);
|
|||
* @param object Address of kernel object
|
||||
* @param thread Thread to grant access to the object
|
||||
*/
|
||||
void k_object_grant_access(void *object, struct k_thread *thread);
|
||||
void k_object_access_grant(void *object, struct k_thread *thread);
|
||||
|
||||
#else
|
||||
static inline int _k_object_validate(void *obj, enum k_objects otype, int init)
|
||||
|
@ -244,7 +244,7 @@ static inline void _k_object_init(void *obj)
|
|||
ARG_UNUSED(obj);
|
||||
}
|
||||
|
||||
static inline void k_object_grant_access(void *object, struct k_thread *thread)
|
||||
static inline void k_object_access_grant(void *object, struct k_thread *thread)
|
||||
{
|
||||
ARG_UNUSED(object);
|
||||
ARG_UNUSED(thread);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue