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
|
|
@ -78,7 +78,7 @@ static void backlight_save_work_handler(struct k_work *work) {
|
|||
static struct k_work_delayable backlight_save_work;
|
||||
#endif
|
||||
|
||||
static int zmk_backlight_init(const struct device *_arg) {
|
||||
static int zmk_backlight_init(void) {
|
||||
if (!device_is_ready(backlight_dev)) {
|
||||
LOG_ERR("Backlight device \"%s\" is not ready", backlight_dev->name);
|
||||
return -ENODEV;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue