summaryrefslogtreecommitdiff
path: root/drivers/macintosh/therm_adt746x.c
diff options
context:
space:
mode:
authorJiri Slaby <jirislaby@kernel.org>2023-06-21 13:16:10 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-06-21 18:57:29 +0300
commite64ed44bce43e003dd154c0bc418a431c15bdf77 (patch)
treea0da85b38568c7d62cf34133a180ff9a091e4f6d /drivers/macintosh/therm_adt746x.c
parent3e540a7bad8534a9b8845defa051834c9694d86c (diff)
downloadlinux-e64ed44bce43e003dd154c0bc418a431c15bdf77.tar.xz
tty_audit: make tty pointers in exposed functions const
Both tty_audit_add_data() and tty_audit_tiocsti() need only to read from the tty struct, so make the tty parameters of them both const. This aids the compiler a bit. Signed-off-by: Jiri Slaby (SUSE) <jirislaby@kernel.org> Link: https://lore.kernel.org/r/20230621101611.10580-6-jirislaby@kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/macintosh/therm_adt746x.c')
0 files changed, 0 insertions, 0 deletions