Skip to content
Commit c5c1756c authored by Patrice Chotard's avatar Patrice Chotard Committed by Tom Rini
Browse files

mtd: stm32: use parameter instead of default value



To set wait state, a hard coded value is used instead of using
latency parameter. stm32_flash_latency_cfg() is currently used
in arch/arm/mach-stm32/stm32f4/clock.c and in
drivers/clk/clk_stm32f7.c with, in both case, "5" as parameter.

Signed-off-by: default avatarPatrice Chotard <patrice.chotard@st.com>
parent 9e58d4db
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment