serial: stm32x7: add clk_get_rate() support
authorPatrice Chotard <patrice.chotard@st.com>
Tue, 18 Jul 2017 07:29:08 +0000 (09:29 +0200)
committerTom Rini <trini@konsulko.com>
Wed, 26 Jul 2017 15:28:08 +0000 (11:28 -0400)
commit27265cee76ee7ee779e2e26549bdedb9d38a56de
tree72f98dc6633a7711d22b264d8853bfe90060426a
parent122b2d4763e82e13f9b2735624813266047ddcd5
serial: stm32x7: add clk_get_rate() support

Replace proprietary clock_get() by clk_get_rate()
The stm32x7 serial driver 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/serial/serial_stm32x7.c
drivers/serial/serial_stm32x7.h