serial: stm32x7: cleanup code
authorPatrice Chotard <patrice.chotard@st.com>
Wed, 27 Sep 2017 13:44:48 +0000 (15:44 +0200)
committerTom Rini <trini@konsulko.com>
Sun, 8 Oct 2017 20:19:56 +0000 (16:19 -0400)
commit2a52a9527ab404be6f81bacf70a484fe993d7d44
tree1d7024c192d57a4380349fae55cf3e873ef436b1
parent34f9a9258397b5430adfedd2bf2c6517eb468d29
serial: stm32x7: cleanup code

Use BIT() macro and GENMASK() macro

Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
Reviewed-by: Vikas Manocha <vikas.manocha@st.com>
drivers/serial/serial_stm32x7.h