Linux IIO development
 help / color / mirror / Atom feed
* [PATCH] iio: rename stale IIO_DEV_ACQUIRE_ERR reference to IIO_DEV_ACQUIRE_FAILED
@ 2026-08-31 10:09 Javier Carrasco
  2026-08-31 11:47 ` Andy Shevchenko
  0 siblings, 1 reply; 5+ messages in thread
From: Javier Carrasco @ 2026-08-31 10:09 UTC (permalink / raw)
  To: Jonathan Cameron, David Lechner, Nuno Sá, Andy Shevchenko
  Cc: linux-iio, linux-kernel, Javier Carrasco

Update the kernel-doc reference left over from an earlier revision
of the series, before the macro was renamed to IIO_DEV_ACQUIRE_FAILED().

Signed-off-by: Javier Carrasco <javier.carrasco.cruz@gmail.com>
---
Trivial documentation stuff that I found while getting the next version
of the veml6031x00 driver ready.
---
 include/linux/iio/iio.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/linux/iio/iio.h b/include/linux/iio/iio.h
index 711c00f67371..989c1db8fb36 100644
--- a/include/linux/iio/iio.h
+++ b/include/linux/iio/iio.h
@@ -789,7 +789,7 @@ DEFINE_GUARD_COND(__priv__iio_dev_mode_lock, _try_direct,
  *
  * Tries to acquire the direct mode lock with cleanup ACQUIRE() semantics and
  * automatically releases it at the end of the scope. It most be always paired
- * with IIO_DEV_ACQUIRE_ERR(), for example (notice the scope braces)::
+ * with IIO_DEV_ACQUIRE_FAILED(), for example (notice the scope braces)::
  *
  *	switch() {
  *	case IIO_CHAN_INFO_RAW: {

---
base-commit: cee9395acd8043be0644b25c34bfa86623f2b935
change-id: 20260831-doc_acquire_failed-bd0f94415e2f

Best regards,
-- 
Javier Carrasco <javier.carrasco.cruz@gmail.com>


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

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

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-31 10:09 [PATCH] iio: rename stale IIO_DEV_ACQUIRE_ERR reference to IIO_DEV_ACQUIRE_FAILED Javier Carrasco
2026-08-31 11:47 ` Andy Shevchenko
2026-08-31 12:30   ` Joshua Crofts
2026-08-31 13:07     ` Javier Carrasco
2026-09-01 16:00       ` Jonathan Cameron

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox