tty: serial: fsl_lpuart: Use __maybe_unused instead of #if CONFIG_PM_SLEEP
authorAnson Huang <Anson.Huang@nxp.com>
Fri, 15 May 2020 12:58:01 +0000 (20:58 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 15 May 2020 13:46:29 +0000 (15:46 +0200)
commitb14109f302d01899a8d7aad0d9a2097faa5fb486
tree7530ae57197e69860209d0811aeae0b1e6421d93
parent0ca650c430404708a6e8bea75e5f92ce8448f098
tty: serial: fsl_lpuart: Use __maybe_unused instead of #if CONFIG_PM_SLEEP

Use __maybe_unused for power management related functions to simplify
the code.

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
Link: https://lore.kernel.org/r/1589547481-25932-1-git-send-email-Anson.Huang@nxp.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/fsl_lpuart.c