Replace individual device instance definitions with the macro that
expands to the equivalent change.
F='struct device DEVICE_NAME_GET'
git grep -l "$F" \
| xargs sed -i -r \
-e "s@$F"'\(([^)]*)\);@DEVICE_DECLARE(\1);@'
Signed-off-by: Peter Bigot <peter.bigot@nordicsemi.no>
|
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| ipm_cavs_idc_priv.h | ||
| ipm_cavs_idc.c | ||
| ipm_cavs_idc.h | ||
| ipm_handlers.c | ||
| ipm_imx.c | ||
| ipm_mcux.c | ||
| ipm_mhu.c | ||
| ipm_mhu.h | ||
| ipm_nrfx_ipc.c | ||
| ipm_nrfx_ipc.h | ||
| ipm_stm32_ipcc.c | ||
| Kconfig | ||
| Kconfig.nrfx | ||
| Kconfig.nrfx_ipc_channel | ||