The script left empty lines below ARG_UNUSED. After this patch, ```c static int f(const struct device *dev) { ARG_UNUSED(dev); /* code */ ... } ``` will become: ```c static int f(void) { /* code */ ... } ``` instead of: ```c static int f(void) { /* code */ ... } ``` Fixes #56954 Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
ZEPHYR_BASE is not used, so delete it. Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
Utility script to migrate SYS_INIT() calls from the old signature: ```c int (*init_fn)(const struct device *dev) ``` to ```c int (*init_fn)(void) ``` Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>