Linux Serial subsystem development
 help / color / mirror / Atom feed
* [PATCH] tty: Correct tty_operations @remove description
@ 2026-10-27  6:50 James Lee
  2026-10-27  6:53 ` sashiko-bot
  0 siblings, 1 reply; 2+ messages in thread
From: James Lee @ 2026-10-27  6:50 UTC (permalink / raw)
  To: Greg Kroah-Hartman, Jiri Slaby; +Cc: linux-kernel, linux-serial, James Lee

Description says that @remove is used in conjunction with itself,
seemingly an unadjusted copy from the description of @install.
Replace @remove's reference to itself with @install.

Signed-off-by: James Lee <james@codeconstruct.com.au>
---
 include/linux/tty_driver.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/linux/tty_driver.h b/include/linux/tty_driver.h
index 40ae3bb13e11a22390906d6307bcd52ab7f98c76..26fd80dc39e2ffbf06e1520ee242e8e9084efd56 100644
--- a/include/linux/tty_driver.h
+++ b/include/linux/tty_driver.h
@@ -135,7 +135,7 @@ enum tty_driver_subtype {
  * @remove: ``void ()(struct tty_driver *self, struct tty_struct *tty)``
  *
  *	Remove a closed @tty from the @self's internal tables. Used in
- *	conjunction with @lookup and @remove methods.
+ *	conjunction with @lookup and @install methods.
  *
  *	Optional method. Default behaviour is to use the @self->ttys array.
  *

---
base-commit: 21a7f44fd0765fcc5194130b28767786eba1d1e7
change-id: 20261027-dev-tty-remove-doc-be8965a944ce

Best regards,
-- 
James Lee <james@codeconstruct.com.au>


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-10-27  6:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-27  6:50 [PATCH] tty: Correct tty_operations @remove description James Lee
2026-10-27  6:53 ` sashiko-bot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox