From: James Lee <james@codeconstruct.com.au>
To: Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
Jiri Slaby <jirislaby@kernel.org>
Cc: linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org,
James Lee <james@codeconstruct.com.au>
Subject: [PATCH] tty: Correct tty_operations @remove description
Date: Tue, 27 Oct 2026 14:50:24 +0800 [thread overview]
Message-ID: <20261027-dev-tty-remove-doc-v1-1-e4272aa01ddc@codeconstruct.com.au> (raw)
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>
reply other threads:[~2026-10-27 6:50 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261027-dev-tty-remove-doc-v1-1-e4272aa01ddc@codeconstruct.com.au \
--to=james@codeconstruct.com.au \
--cc=gregkh@linuxfoundation.org \
--cc=jirislaby@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-serial@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®