Skip to contentSkip to conversation

gpio: pca9570: fix kerneldoc

PATCH In review Bartosz Golaszewski 2 participants 2 messages Aug 17, 2023 – Aug 18, 2023 GPIO

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 gpio: pca9570: fix kerneldoc

From: Bartosz Golaszewski <[email protected]>

While renaming one of the fields in the driver data struct, the kerneldoc was not updated which apparently angers the test robot now.

Fixes a3f7c1d6ddcb ("gpio: pca9570: rename platform_data to chip_data")
---
 drivers/gpio/gpio-pca9570.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpio/gpio-pca9570.c +1 -1
index d8db80ef1293..d37ba4049368 100644
@@ -30,7 +30,7 @@ struct pca9570_chip_data {
 /**
  * struct pca9570 - GPIO driver data
  * @chip: GPIO controller chip
- * @p_data: GPIO controller platform data
+ * @chip_data: GPIO controller platform data
  * @lock: Protects write sequences
  * @out: Buffer for device register
  */
Signature · 1 line
2.39.2
Reviewed-by on v1 1/1
#1 lore raw
Quoted 4 lines · Bartosz Golaszewski

From: Bartosz Golaszewski <[email protected]>

While renaming one of the fields in the driver data struct, the kerneldoc was not updated which apparently angers the test robot now.

Signature · 2 lines
With Best Regards,
Andy Shevchenko