drivers: clock_control: stm32: Default driver selection out of soc

Rather setting the driver default in soc, make it directly at symbol
level rather than soc and clean up redundant `select` occurrences.

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
This commit is contained in:
Erwan Gouriou 2024-09-02 11:14:51 +02:00 committed by Anas Nashif
commit 0e30625eec
4 changed files with 1 additions and 6 deletions

View file

@ -57,10 +57,6 @@ choice STM32_LPTIM_CLOCK
default STM32_LPTIM_CLOCK_LSI if "$(dt_node_ph_array_prop_int,$(DT_STM32_LPTIM_PATH),clocks,1,bus)" = 3
endchoice
config CLOCK_CONTROL_STM32_CUBE
default y
depends on CLOCK_CONTROL
config CLOCK_CONTROL_INIT_PRIORITY
default 1
depends on CLOCK_CONTROL