Skip to content
Commit 2ab5452b authored by Guillaume Gautier's avatar Guillaume Gautier Committed by Henrik Brix Andersen
Browse files

drivers: counter: stm32: use kernel clock instead of dedicated function



Now that the timer kernel clocks are defined in device tree, use the
clock get API to fetch the clock frequency instead of calculating the
value in the driver.
Removes the now unused function counter_stm32_get_tim_clk.

Signed-off-by: default avatarGuillaume Gautier <guillaume.gautier-ext@st.com>
parent 2cccfda4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment