serial: sc16is7xx: change confusing comment about Tx FIFO
authorHugo Villeneuve <hvilleneuve@dimonoff.com>
Wed, 22 Nov 2023 17:58:59 +0000 (12:58 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 25 Nov 2023 07:23:16 +0000 (07:23 +0000)
commitfffa35a25b4ced5ec89b1c12cf6a4f1d9541d3cb
treed2beaf19b8ff8d7ebe82c215bdeb7f67485542a7
parent45a3a8ef81291b63a2b50a1a145857dd9fc05e89
serial: sc16is7xx: change confusing comment about Tx FIFO

The comment wording can be confusing, as txlen will return the number of
bytes available in the FIFO, which can be less than the maximum theoretical
Tx FIFO size.

Change the comment so that it is unambiguous.

Signed-off-by: Hugo Villeneuve <hvilleneuve@dimonoff.com>
Link: https://lore.kernel.org/r/20231122175859.3874753-1-hugo@hugovil.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/sc16is7xx.c