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

drivers: pwm: 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 get_tim_clk.

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