diff options
author | Dmitry Safonov <[email protected]> | 2019-12-13 00:06:26 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2019-12-18 15:04:53 +0100 |
commit | 2deed95820e52be956f5b49e5edb52312b9faeb5 (patch) | |
tree | 8f5e81c4fcdcba4a86d953c81c1a6980738e283f /tools/perf/scripts/python/syscall-counts-by-pid.py | |
parent | b4088e830bd9f431db655af4b581d495a79709e2 (diff) |
tty/serial: Migrate mxs-auart to use has_sysrq
The SUPPORT_SYSRQ ifdeffery is not nice as:
- May create misunderstanding about sizeof(struct uart_port) between
different objects
- Prevents moving functions from serial_core.h
- Reduces readability (well, it's ifdeffery - it's hard to follow)
In order to remove SUPPORT_SYSRQ, has_sysrq variable has been added.
Initialise it in driver's probe and remove ifdeffery.
Cc: Fabio Estevam <[email protected]>
Cc: NXP Linux Team <[email protected]>
Cc: Pengutronix Kernel Team <[email protected]>
Cc: Shawn Guo <[email protected]>
Cc: Sascha Hauer <[email protected]>
Cc: [email protected]
Signed-off-by: Dmitry Safonov <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions