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
14db4eedff
commit
97b3bd11a7
110 changed files with 544 additions and 544 deletions
|
@ -149,7 +149,7 @@ extern "C" {
|
|||
static struct device_pm _CONCAT(__pm_, dev_name) __used \
|
||||
= { \
|
||||
.usage = ATOMIC_INIT(0), \
|
||||
.lock = _K_SEM_INITIALIZER( \
|
||||
.lock = Z_SEM_INITIALIZER( \
|
||||
_CONCAT(__pm_, dev_name).lock, 1, 1), \
|
||||
.signal = K_POLL_SIGNAL_INITIALIZER( \
|
||||
_CONCAT(__pm_, dev_name).signal), \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue