forked from kofal.net/zmk
refactor(app): replace struct device * with const struct device *
Replaced with RegExp: /(?<!const )(struct device \*)/g See: https://docs.zephyrproject.org/latest/releases/release-notes-2.4.html PR: #467
This commit is contained in:
@@ -34,7 +34,7 @@ static int on_keymap_binding_pressed(struct zmk_behavior_binding *binding,
|
||||
return -ENOTSUP;
|
||||
}
|
||||
|
||||
static int behavior_out_init(struct device *dev) { return 0; }
|
||||
static int behavior_out_init(const struct device *dev) { return 0; }
|
||||
|
||||
static const struct behavior_driver_api behavior_outputs_driver_api = {
|
||||
.binding_pressed = on_keymap_binding_pressed,
|
||||
|
||||
Reference in New Issue
Block a user