All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] iio: core-trigger: correct CONFIG_IIO_TRIGGER macro name in #endif comment
@ 2026-06-10  4:05 Ethan Nelson-Moore
  2026-06-10  6:03 ` Joshua Crofts
  2026-06-10 13:41 ` Andy Shevchenko
  0 siblings, 2 replies; 5+ messages in thread
From: Ethan Nelson-Moore @ 2026-06-10  4:05 UTC (permalink / raw)
  To: linux-iio
  Cc: Ethan Nelson-Moore, Jonathan Cameron, David Lechner, Nuno Sá,
	Andy Shevchenko

A comment in drivers/iio/iio_core_trigger.h incorrectly refers to
CONFIG_TRIGGER_CONSUMER instead of CONFIG_IIO_TRIGGER. Correct it.

Discovered while searching for CONFIG_* symbols referenced in code but
not defined in any Kconfig file.

Signed-off-by: Ethan Nelson-Moore <enelsonmoore@gmail.com>
---
 drivers/iio/iio_core_trigger.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/iio/iio_core_trigger.h b/drivers/iio/iio_core_trigger.h
index e1a56824e07f..4698a857739f 100644
--- a/drivers/iio/iio_core_trigger.h
+++ b/drivers/iio/iio_core_trigger.h
@@ -56,4 +56,4 @@ static inline int iio_trigger_detach_poll_func(struct iio_trigger *trig,
 	return 0;
 }
 
-#endif /* CONFIG_TRIGGER_CONSUMER */
+#endif /* CONFIG_IIO_TRIGGER */
-- 
2.43.0


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2026-06-10 16:01 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-10  4:05 [PATCH] iio: core-trigger: correct CONFIG_IIO_TRIGGER macro name in #endif comment Ethan Nelson-Moore
2026-06-10  6:03 ` Joshua Crofts
2026-06-10 13:41 ` Andy Shevchenko
2026-06-10 13:59   ` Joshua Crofts
2026-06-10 16:01     ` Jonathan Cameron

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.