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

@@ -140,7 +140,7 @@ static void zmk_sensors_init_item(uint8_t i) {
#define SENSOR_INIT(idx, _t) zmk_sensors_init_item(idx);
static int zmk_sensors_init(const struct device *_arg) {
static int zmk_sensors_init(void) {
LISTIFY(ZMK_KEYMAP_SENSORS_LEN, SENSOR_INIT, (), 0)
return 0;