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:
Andrew Boie 2017-10-04 11:49:10 -07:00 committed by Anas Nashif
commit 217017c924
3 changed files with 4 additions and 6 deletions

View file

@ -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);