tty: use const parameters in port-flag accessors
authorJohan Hovold <johan@kernel.org>
Wed, 2 Dec 2020 11:39:37 +0000 (12:39 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 9 Dec 2020 14:27:42 +0000 (15:27 +0100)
commit9e1792727ead477f49958578d0dbd466a7deea48
treec502ad2be7de6c0487593dacfa3edadb7cf469e6
parentaf633212c4aac1dbd3a48615a834646ce072346d
tty: use const parameters in port-flag accessors

Declare the port parameter to the flag-test accessors as const.

This is currently mostly cosmetic as the accessors are already inlined.

Suggested-by: Jiri Slaby <jirislaby@kernel.org>
Signed-off-by: Johan Hovold <johan@kernel.org>
Link: https://lore.kernel.org/r/20201202113942.27024-3-johan@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
include/linux/tty.h