counter: stm32-timer-cnt: rename counter
authorFabrice Gasnier <fabrice.gasnier@foss.st.com>
Thu, 7 Mar 2024 13:32:58 +0000 (14:32 +0100)
committerWilliam Breathitt Gray <wbg@kernel.org>
Tue, 2 Apr 2024 17:10:34 +0000 (13:10 -0400)
The STM32 timer may count on various sources or channels. The counter
isn't specifically counting on channe1 1. So rename it to avoid a
confusion.

Reviewed-by: William Breathitt Gray <william.gray@linaro.org>
Signed-off-by: Fabrice Gasnier <fabrice.gasnier@foss.st.com>
Link: https://lore.kernel.org/r/20240307133306.383045-3-fabrice.gasnier@foss.st.com
Signed-off-by: William Breathitt Gray <william.gray@linaro.org>
drivers/counter/stm32-timer-cnt.c

index 36d812ddf162e335ea60b3c126a4252056088c8f..668e9d1061d3befa6235afc56441c43997370044 100644 (file)
@@ -302,7 +302,7 @@ static struct counter_synapse stm32_count_synapses[] = {
 
 static struct counter_count stm32_counts = {
        .id = 0,
-       .name = "Channel 1 Count",
+       .name = "STM32 Timer Counter",
        .functions_list = stm32_count_functions,
        .num_functions = ARRAY_SIZE(stm32_count_functions),
        .synapses = stm32_count_synapses,