summaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2020-03-10 19:43:36 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-03-12 17:16:41 +0100
commite140ef36925f54770fccb8e42be8cc8365221b51 (patch)
tree453cab23d2cde10fd9ed0d491427d157fba87182 /include/linux
parentb18896ff3a92fe320ad5262009f0b90e04b8a203 (diff)
downloadcachepc-linux-e140ef36925f54770fccb8e42be8cc8365221b51.tar.gz
cachepc-linux-e140ef36925f54770fccb8e42be8cc8365221b51.zip
serial: core: Use uart_console() helper in SysRq code
Use uart_console() helper in SysRq code instead of open coded variant. This eliminates the conditional entirely for SERIAL_CORE_CONSOLE=n case. While here, refactor the conditional to be more compact. Reviewed-by: Dmitry Safonov <0x7f454c46@gmail.com> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Link: https://lore.kernel.org/r/20200310174337.74109-3-andriy.shevchenko@linux.intel.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions