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 | ||
| i2s_cavs.c | ||
| i2s_cavs.h | ||
| i2s_common.c | ||
| i2s_handlers.c | ||
| i2s_ll_stm32.c | ||
| i2s_ll_stm32.h | ||
| i2s_sam_ssc.c | ||
| Kconfig | ||
| Kconfig.cavs | ||
| Kconfig.sam_ssc | ||
| Kconfig.stm32 | ||