Skip to contentSkip to conversation

gpiolib: cdev: Fix reference to linereq_set_config_unlocked()

PATCH Applied Kent Gibson 2 participants 2 messages Sep 24, 2024 – Sep 30, 2024

Subsystems (2)
lore
Share & tools
lore

Kent Gibson

author reviewer
#0 lore raw

PATCH 1/1 gpiolib: cdev: Fix reference to linereq_set_config_unlocked()

With the change to cleanup.h guards, linereq_set_config_unlocked() was collapsed into linereq_set_config(), but documentation referencing it was not updated to reflect that change.

Update the reference to linereq_set_config().

---
 drivers/gpio/gpiolib-cdev.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpio/gpiolib-cdev.c +1 -1
index 5aac59de0d76..366c8c5a2e62 100644
@@ -450,7 +450,7 @@ struct line {
 	 * The flags for the active edge detector configuration.
 	 *
 	 * edflags is set by linereq_create(), linereq_free(), and
-	 * linereq_set_config_unlocked(), which are themselves mutually
+	 * linereq_set_config(), which are themselves mutually
 	 * exclusive, and is accessed by edge_irq_thread(),
 	 * process_hw_ts_thread() and debounce_work_func(),
 	 * which can all live with a slightly stale value.
Signature · 1 line
2.39.5
#1 lore raw

From: Bartosz Golaszewski <[email protected]>

Quoted 8 lines · Kent Gibson

With the change to cleanup.h guards, linereq_set_config_unlocked() was collapsed into linereq_set_config(), but documentation referencing it was not updated to reflect that change.

Update the reference to linereq_set_config().

[...]

Applied, thanks!

[1/1] gpiolib: cdev: Fix reference to linereq_set_config_unlocked()

      commit: f522f396ab801ecaec132948b3766fea3a41359f

Best regards,

Signature · 1 line
Bartosz Golaszewski <[email protected]>