tty/sysrq: change the definition of sysrq_key_table's element to make it more readable
authorJunwen Wu <wudaemon@gmail.com>
Mon, 18 Apr 2022 15:37:03 +0000 (15:37 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 22 Apr 2022 14:22:53 +0000 (16:22 +0200)
commit8ec8719fc27b29c096340866cb3e618b8a4c81e4
treee84be95165406e07cfe1a79a6a643528fdcb01b0
parentc1b4148135c171f2950bf2dc40d4724f227825ac
tty/sysrq: change the definition of sysrq_key_table's element to make it more readable

The definition of sysrq_key_table's elements, like sysrq_thaw_op and
sysrq_showallcpus_op are not consistent with sysrq_ftrace_dump_op,
Consistency makes code more readable.

Reviewed-by: Jiri Slaby <jirislaby@kernel.org>
Signed-off-by: Junwen Wu <wudaemon@gmail.com>
Link: https://lore.kernel.org/r/20220418153703.97705-1-wudaemon@163.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/sysrq.c