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:
parent
8108d16f9f
commit
f363945c75
|
@ -29,7 +29,7 @@ typedef struct k_sem metal_mutex_t;
|
|||
* METAL_MUTEX_INIT - used for initializing an mutex elmenet in a static struct
|
||||
* 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
|
||||
* static singleton mutex
|
||||
|
|
Loading…
Reference in New Issue