From fa6eca312fefe4285ce5d8f38c7913ad405d6f77 Mon Sep 17 00:00:00 2001 From: Fabio Baltieri Date: Sun, 31 Mar 2024 18:42:34 +0100 Subject: [PATCH] input: utils: rename the input dump callback Change the input callback function name to make it easier to identify what it belongs to. This clears some ambiguity when observing the symbol names corresponding to the function pointers in the callback section. Signed-off-by: Fabio Baltieri --- subsys/input/input_utils.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/subsys/input/input_utils.c b/subsys/input/input_utils.c index 45281b6d5d7..9e093b27b46 100644 --- a/subsys/input/input_utils.c +++ b/subsys/input/input_utils.c @@ -51,7 +51,7 @@ static bool input_dump_enabled(void) } #endif /* CONFIG_INPUT_SHELL */ -static void input_cb(struct input_event *evt) +static void input_dump_cb(struct input_event *evt) { if (!input_dump_enabled()) { return; @@ -64,7 +64,7 @@ static void input_cb(struct input_event *evt) evt->code, evt->value); } -INPUT_CALLBACK_DEFINE(NULL, input_cb); +INPUT_CALLBACK_DEFINE(NULL, input_dump_cb); #endif /* CONFIG_INPUT_EVENT_DUMP */ #ifdef CONFIG_INPUT_SHELL