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:
Guillaume Gautier <guillaume.gautier-ext@st.com>
Loading
Please sign in to comment