refactor: All SYS_INIT functions are void args.

This commit is contained in:
Peter Johanson
2023-06-23 07:19:57 +00:00
committed by Pete Johanson
parent f4fce9e158
commit bf4008da02
21 changed files with 20 additions and 29 deletions

View File

@@ -40,9 +40,7 @@ const struct device *z_impl_behavior_get_binding(const char *name) {
}
#if IS_ENABLED(CONFIG_LOG)
static int check_behavior_names(const struct device *dev) {
ARG_UNUSED(dev);
static int check_behavior_names(void) {
// Behavior names must be unique, but we don't have a good way to enforce this
// at compile time, so log an error at runtime if they aren't unique.
ptrdiff_t count;