tty: remove TTY_DRIVER_MAGIC
authorнаб <nabijaczleweli@nabijaczleweli.xyz>
Fri, 16 Sep 2022 01:55:05 +0000 (03:55 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 22 Sep 2022 14:12:34 +0000 (16:12 +0200)
commit5052df99d3bc3cd281222bbcba44323b2d0937d2
treeb2c66556beebe0cf9d5a6b785c8dfb0e6cac31bb
parent7a4e0d2c7fb8e28bb8ce0687925c9cf91d65f2a0
tty: remove TTY_DRIVER_MAGIC

According to Greg, in the context of magic numbers as defined in
magic-number.rst, "the tty layer should not need this and I'll gladly
take patches"

Acked-by: Jiri Slaby <jirislaby@kernel.org>
Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Ref: https://lore.kernel.org/linux-doc/YyMlovoskUcHLEb7@kroah.com/
Link: https://lore.kernel.org/r/723478a270a3858f27843cbec621df4d5d44efcc.1663288066.git.nabijaczleweli@nabijaczleweli.xyz
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Documentation/process/magic-number.rst
Documentation/translations/it_IT/process/magic-number.rst
Documentation/translations/zh_CN/process/magic-number.rst
Documentation/translations/zh_TW/process/magic-number.rst
drivers/tty/tty_io.c
include/linux/tty_driver.h