spi: stm32_qspi: add clk_get_rate() support
authorPatrice Chotard <patrice.chotard@st.com>
Tue, 18 Jul 2017 07:29:09 +0000 (09:29 +0200)
committerTom Rini <trini@konsulko.com>
Wed, 26 Jul 2017 15:28:08 +0000 (11:28 -0400)
commit541cd6e54eb80159d9212e2dda8fdea8c246eea7
tree0972ec323085b55f59aa601501c370cb39c7aaae
parent27265cee76ee7ee779e2e26549bdedb9d38a56de
spi: stm32_qspi: add clk_get_rate() support

Replace proprietary clock_get() by clk_get_rate()
The stm32_qspi is now "generic" and can be used
by other STM32 SoCs.

Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
Acked-by: Vikas MANOCHA <vikas.manocha@st.com>
drivers/spi/stm32_qspi.c