devicetree: Change DT_FOREACH_IMPL_ to not insert semicolon
Remove semicolon between instance invocations of DT_FOREACH_IMPL_ and thus DT_INST_FOREACH. This provides more flexibility to the user. This requires we fixup in tree users to add semicolon where needed. Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
parent
06d4c6d8b3
commit
0a7d4e2135
50 changed files with 52 additions and 52 deletions
|
@ -599,7 +599,7 @@ DEVICE_AND_API_INIT(gpio_intel_apl_##n, \
|
|||
&gpio_intel_apl_data_##n, \
|
||||
&gpio_intel_apl_cfg_##n, \
|
||||
POST_KERNEL, CONFIG_KERNEL_INIT_PRIORITY_DEVICE, \
|
||||
&gpio_intel_apl_api)
|
||||
&gpio_intel_apl_api);
|
||||
|
||||
/* "sub" devices. no more than GPIO_INTEL_APL_NR_SUBDEVS of these! */
|
||||
DT_INST_FOREACH(GPIO_INTEL_APL_DEV_CFG_DATA)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue