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

@@ -17,7 +17,7 @@ struct k_work_q *zmk_workqueue_lowprio_work_q(void) {
return &lowprio_work_q;
}
static int workqueue_init(const struct device *_device) {
static int workqueue_init(void) {
static const struct k_work_queue_config queue_config = {.name = "Low Priority Work Queue"};
k_work_queue_start(&lowprio_work_q, lowprio_q_stack, K_THREAD_STACK_SIZEOF(lowprio_q_stack),
CONFIG_ZMK_LOW_PRIORITY_THREAD_PRIORITY, &queue_config);