Skip to contentSkip to conversation

staging: nvec: fix GPIO descriptor documentation

PATCH New Cen Zhang (Microsoft) 1 participant 1 message Oct 9

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 drivers/staging/nvec/nvec.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/nvec/nvec.h +1 -1
index 80c0353f141c..5ef959352338 100644
@@ -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
Signature · 1 line
2.55.0