From: "Cen Zhang (Microsoft)" <cenzhang@linux.microsoft.com>
To: Marc Dietrich <marvin24@gmx.de>, Greg KH <gregkh@linuxfoundation.org>
Cc: Cen Zhang <cenzhang@linux.microsoft.com>,
ac100@lists.launchpad.net, linux-tegra@vger.kernel.org,
linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org
Subject: [PATCH] staging: nvec: fix GPIO descriptor documentation
Date: Fri, 9 Oct 2026 02:31:56 -0400 [thread overview]
Message-ID: <20261009063156.28306-1-cenzhang@linux.microsoft.com> (raw)
The kernel-doc for struct nvec_chip still refers to the old gpio member
and to struct nvec_platform_data, which no longer exists.
Rename the documented member to gpiod and describe its role as the GPIO
descriptor for the embedded controller request line.
Signed-off-by: Cen Zhang (Microsoft) <cenzhang@linux.microsoft.com>
---
drivers/staging/nvec/nvec.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/nvec/nvec.h b/drivers/staging/nvec/nvec.h
index 80c0353f141c..5ef959352338 100644
--- a/drivers/staging/nvec/nvec.h
+++ b/drivers/staging/nvec/nvec.h
@@ -102,7 +102,7 @@ struct nvec_msg {
/**
* struct nvec_chip - A single connection to an NVIDIA Embedded controller
* @dev: The device
- * @gpio: The same as for &struct nvec_platform_data
+ * @gpiod: GPIO descriptor for the embedded controller request line
* @irq: The IRQ of the I2C device
* @i2c_addr: The address of the I2C slave
* @base: The base of the memory mapped region of the I2C device
--
2.55.0
reply other threads:[~2026-10-09 6:32 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=20261009063156.28306-1-cenzhang@linux.microsoft.com \
--to=cenzhang@linux.microsoft.com \
--cc=ac100@lists.launchpad.net \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-staging@lists.linux.dev \
--cc=linux-tegra@vger.kernel.org \
--cc=marvin24@gmx.de \
/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®