drivers: Rename reserved function names

Rename reserved function names in drivers/ subdirectory. Update
function macros concatenatenating function names with '##'. As
there is a conflict between the existing gpio_sch_manage_callback()
and _gpio_sch_manage_callback() names, leave the latter unmodified.

Signed-off-by: Patrik Flykt <patrik.flykt@intel.com>
This commit is contained in:
Patrik Flykt 2019-03-12 15:15:42 -06:00 committed by Anas Nashif
parent 8108d16f9f
commit f363945c75
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ typedef struct k_sem metal_mutex_t;
* METAL_MUTEX_INIT - used for initializing an mutex elmenet in a static struct * METAL_MUTEX_INIT - used for initializing an mutex elmenet in a static struct
* or global * or global
*/ */
#define METAL_MUTEX_INIT(m) _K_SEM_INITIALIZER(m, 1, 1) #define METAL_MUTEX_INIT(m) Z_SEM_INITIALIZER(m, 1, 1)
/* /*
* METAL_MUTEX_DEFINE - used for defining and initializing a global or * METAL_MUTEX_DEFINE - used for defining and initializing a global or
* static singleton mutex * static singleton mutex