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 | ||
| intel_gna.c | ||
| intel_gna.h | ||
| Kconfig | ||
| Kconfig.intel_gna | ||