From b02645980bb4f5e566546f88a0682d5e16cfb194 Mon Sep 17 00:00:00 2001 From: Jakob Bornecrantz Date: Wed, 15 Nov 2023 16:48:48 +0000 Subject: [PATCH] d/wmr: Follow common naming of update_inputs [NFC] --- src/xrt/drivers/wmr/wmr_controller_hp.c | 4 ++-- src/xrt/drivers/wmr/wmr_controller_og.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/xrt/drivers/wmr/wmr_controller_hp.c b/src/xrt/drivers/wmr/wmr_controller_hp.c index 79d5c5462..dcf84b188 100644 --- a/src/xrt/drivers/wmr/wmr_controller_hp.c +++ b/src/xrt/drivers/wmr/wmr_controller_hp.c @@ -279,7 +279,7 @@ handle_input_packet(struct wmr_controller_base *wcb, uint64_t time_ns, uint8_t * } static void -wmr_controller_hp_update_xrt_inputs(struct xrt_device *xdev) +wmr_controller_hp_update_inputs(struct xrt_device *xdev) { DRV_TRACE_MARKER(); @@ -350,7 +350,7 @@ wmr_controller_hp_create(struct wmr_controller_connection *conn, } wcb->base.destroy = wmr_controller_hp_destroy; - wcb->base.update_inputs = wmr_controller_hp_update_xrt_inputs; + wcb->base.update_inputs = wmr_controller_hp_update_inputs; wcb->base.set_output = wmr_controller_hp_set_output; SET_INPUT(wcb, MENU_CLICK, MENU_CLICK); diff --git a/src/xrt/drivers/wmr/wmr_controller_og.c b/src/xrt/drivers/wmr/wmr_controller_og.c index abebcd071..fe881fedc 100644 --- a/src/xrt/drivers/wmr/wmr_controller_og.c +++ b/src/xrt/drivers/wmr/wmr_controller_og.c @@ -292,7 +292,7 @@ handle_input_packet(struct wmr_controller_base *wcb, uint64_t time_ns, uint8_t * } static void -wmr_controller_og_update_xrt_inputs(struct xrt_device *xdev) +wmr_controller_og_update_inputs(struct xrt_device *xdev) { DRV_TRACE_MARKER(); @@ -360,7 +360,7 @@ wmr_controller_og_create(struct wmr_controller_connection *conn, wcb->base.name = XRT_DEVICE_WMR_CONTROLLER; } wcb->base.destroy = wmr_controller_og_destroy; - wcb->base.update_inputs = wmr_controller_og_update_xrt_inputs; + wcb->base.update_inputs = wmr_controller_og_update_inputs; wcb->base.set_output = wmr_controller_og_set_output; if (pid == ODYSSEY_CONTROLLER_PID) {