Skip to content
Snippets Groups Projects
Commit 5baeafd3 authored by Yann Gautier's avatar Yann Gautier Committed by Sebastien Pasdeloup
Browse files

clk: stm32mp1_clk: improve readability of stm32mp_clk_timer_get_rate


Use a switch/case with all the timer clocks, instead of checking their
relative indexes.

Change-Id: If41338c38c81ca370ec149f8551bbb73a5b08a9d
Signed-off-by: default avatarYann Gautier <yann.gautier@st.com>
Signed-off-by: default avatarGabriel Fernandez <gabriel.fernandez@st.com>
parent f795640a
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment