diff options
author | Jiri Slaby (SUSE) <jirislaby@kernel.org> | 2023-09-19 11:51:48 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-10-03 15:31:15 +0300 |
commit | 5b4f9cf3cc339565be1ecd64d608b6ffdfba7c1e (patch) | |
tree | 1b17141ba639a4c716344cd2cfbaa78c0ec6e0ba /Documentation/driver-api/i3c/protocol.rst | |
parent | c2a36609dab3b7c937ab95bfb8b98e72391f772e (diff) | |
download | linux-5b4f9cf3cc339565be1ecd64d608b6ffdfba7c1e.tar.xz |
tty: invert return values of tty_{,un}throttle_safe()
If tty_{,un}throttle_safe() returned true on success (similar to
*_trylock()), it would make the conditions in callers more obvious. So
perform the switch to these inverted values (and fix the callers).
Signed-off-by: "Jiri Slaby (SUSE)" <jirislaby@kernel.org>
Link: https://lore.kernel.org/r/20230919085156.1578-8-jirislaby@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Documentation/driver-api/i3c/protocol.rst')
0 files changed, 0 insertions, 0 deletions