serial: stm32: add pm_runtime support
authorErwan Le Ray <erwan.leray@st.com>
Thu, 13 Jun 2019 13:49:54 +0000 (15:49 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 4 Sep 2019 10:43:46 +0000 (12:43 +0200)
commitfb6dcef62d52fe76f6b369e6af093dc4ad5db407
tree4bfa5db2ce3c01cec6f93fd0d70fa8de58d57dfb
parent94616d9a9db0099f5251c60b831e03619c63523a
serial: stm32: add pm_runtime support

Use pm_runtime for clock management.

Signed-off-by: Bich Hemon <bich.hemon@st.com>
Signed-off-by: Erwan Le Ray <erwan.leray@st.com>
Link: https://lore.kernel.org/r/1560433800-12255-5-git-send-email-erwan.leray@st.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/stm32-usart.c