|
|
|
@ -116,10 +116,9 @@ static int behavior_key_repeat_init(const struct device *dev) {
@@ -116,10 +116,9 @@ static int behavior_key_repeat_init(const struct device *dev) {
|
|
|
|
|
.usage_pages = DT_INST_PROP(n, usage_pages), \
|
|
|
|
|
.usage_pages_count = DT_INST_PROP_LEN(n, usage_pages), \
|
|
|
|
|
}; \
|
|
|
|
|
DEVICE_DT_INST_DEFINE(n, behavior_key_repeat_init, device_pm_control_nop, \
|
|
|
|
|
&behavior_key_repeat_data_##n, &behavior_key_repeat_config_##n, \
|
|
|
|
|
APPLICATION, CONFIG_KERNEL_INIT_PRIORITY_DEFAULT, \
|
|
|
|
|
&behavior_key_repeat_driver_api); |
|
|
|
|
DEVICE_DT_INST_DEFINE(n, behavior_key_repeat_init, NULL, &behavior_key_repeat_data_##n, \
|
|
|
|
|
&behavior_key_repeat_config_##n, APPLICATION, \
|
|
|
|
|
CONFIG_KERNEL_INIT_PRIORITY_DEFAULT, &behavior_key_repeat_driver_api); |
|
|
|
|
|
|
|
|
|
DT_INST_FOREACH_STATUS_OKAY(KR_INST) |
|
|
|
|
|
|
|
|
|