refactor: Move away from deprecated PM callback.
This commit is contained in:
parent
bf2fc68070
commit
4df83a9c0d
25 changed files with 41 additions and 48 deletions
|
|
@ -237,7 +237,7 @@ static const struct kscan_driver_api gpio_driver_api = {
|
|||
.inputs = {UTIL_LISTIFY(INST_INPUT_LEN(n), KSCAN_DIRECT_INPUT_ITEM, n)}, \
|
||||
.num_of_inputs = INST_INPUT_LEN(n), \
|
||||
.debounce_period = DT_INST_PROP(n, debounce_period)}; \
|
||||
DEVICE_DT_INST_DEFINE(n, kscan_gpio_init_##n, device_pm_control_nop, &kscan_gpio_data_##n, \
|
||||
DEVICE_DT_INST_DEFINE(n, kscan_gpio_init_##n, NULL, &kscan_gpio_data_##n, \
|
||||
&kscan_gpio_config_##n, POST_KERNEL, CONFIG_ZMK_KSCAN_INIT_PRIORITY, \
|
||||
&gpio_driver_api);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue