From f2b3be172bb0431bc36b94a653feb802b6e82b62 Mon Sep 17 00:00:00 2001 From: Erwan Gouriou Date: Fri, 12 Aug 2022 18:19:07 +0200 Subject: [PATCH] drivers: timer: lptim: Remove deprecation warning It appears that some in tree boards still enable lptim w/o configured domain clocks. Remove this deprecation message the time a clean up is done fully. Signed-off-by: Erwan Gouriou --- drivers/timer/stm32_lptim_timer.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/timer/stm32_lptim_timer.c b/drivers/timer/stm32_lptim_timer.c index 87bb9dfcf0..c7362dff6c 100644 --- a/drivers/timer/stm32_lptim_timer.c +++ b/drivers/timer/stm32_lptim_timer.c @@ -28,7 +28,6 @@ #define LPTIM (LPTIM_TypeDef *) DT_INST_REG_ADDR(0) #if DT_INST_NUM_CLOCKS(0) == 1 -#warning Kconfig for LPTIM source clock (LSI/LSE) is deprecated, use device tree. static const struct stm32_pclken lptim_clk[] = { STM32_CLOCK_INFO(0, DT_DRV_INST(0)), /* Use Kconfig to configure source clocks fields */