serial: stm32: Use __maybe_unused instead of #if CONFIG_PM_SLEEP
authorErwan Le Ray <erwan.leray@st.com>
Thu, 13 Jun 2019 13:49:55 +0000 (15:49 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 4 Sep 2019 10:43:46 +0000 (12:43 +0200)
commitfe94347d6dc97e044db011010c55cb95367c23d0
tree7000d419bb0f0aba23da5f463f775be159c8cb07
parentfb6dcef62d52fe76f6b369e6af093dc4ad5db407
serial: stm32: Use __maybe_unused instead of #if CONFIG_PM_SLEEP

Use __maybe_unused for power management related functionsinstead of

fixes: 270e5a74fe4c ("serial: stm32: add wakeup mechanism")
Signed-off-by: Erwan Le Ray <erwan.leray@st.com>
Link: https://lore.kernel.org/r/1560433800-12255-6-git-send-email-erwan.leray@st.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/stm32-usart.c