refactor: All SYS_INIT functions are void args.
This commit is contained in:
parent
f4fce9e158
commit
bf4008da02
21 changed files with 20 additions and 29 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue