summaryrefslogtreecommitdiff
path: root/drivers/staging
diff options
context:
space:
mode:
authorCen Zhang (Microsoft) <cenzhang@linux.microsoft.com>2026-10-09 02:31:56 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2026-10-13 15:39:40 +0200
commitf0a9ff09ee6de4b89ac5ede2af47c81432391bb8 (patch)
tree91ca972eec7b6e4e73a1d0ce296ec38592835bfc /drivers/staging
parent6b4b1460f052b9467038efbea9d69d632caed82b (diff)
staging: nvec: fix GPIO descriptor documentation
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> Link: https://patch.msgid.link/20261009063156.28306-1-cenzhang@linux.microsoft.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging')
-rw-r--r--drivers/staging/nvec/nvec.h2
1 files changed, 1 insertions, 1 deletions
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