]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit940f4e4f81e898f1a411224ecc757b7409196779
tree7530ae57197e69860209d0811aeae0b1e6421d93
parentf92eea6aaca4406035d9cbf148e8c0f1fcbeaa9e
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