forked from kofal.net/zmk
refactor: All SYS_INIT functions are void args.
This commit is contained in:
committed by
Pete Johanson
parent
f4fce9e158
commit
bf4008da02
@@ -92,7 +92,7 @@ static void zmk_battery_start_reporting() {
|
||||
}
|
||||
}
|
||||
|
||||
static int zmk_battery_init(const struct device *_arg) {
|
||||
static int zmk_battery_init(void) {
|
||||
#if !DT_HAS_CHOSEN(zmk_battery)
|
||||
battery = device_get_binding("BATTERY");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user