Skip to contentSkip to conversation

iio: rename stale IIO_DEV_ACQUIRE_ERR reference to IIO_DEV_ACQUIRE_FAILED

PATCH Applied Javier Carrasco 4 participants 5 messages Aug 31 – Sep 1 IIO

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 iio: rename stale IIO_DEV_ACQUIRE_ERR reference to IIO_DEV_ACQUIRE_FAILED

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

---
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(-)
include/linux/iio/iio.h +1 -1
index 711c00f67371..989c1db8fb36 100644
@@ -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,

Signature · 1 line
Javier Carrasco <[email protected]>
Reviewed-by on v1 1/1
#1 lore raw
Quoted 2 lines · 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().

I would argue that it might be good to be backported, but who reads documentation?

Signature · 2 lines
With Best Regards,
Andy Shevchenko
#2 lore raw
Quoted 5 lines · On Mon, 31 Aug 2026 14:47:54 +0300 Andy Shevchenko…
Quoted 2 lines · 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().

I would argue that it might be good to be backported, but who reads documentation?

Only LLMs these days...

Signature · 2 lines
Kind regards,
Joshua Crofts
#3 lore raw
Quoted 10 lines · Joshua Crofts
Quoted 5 lines · On Mon, 31 Aug 2026 14:47:54 +0300 Andy Shevchenko…
Quoted 2 lines · 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().

I would argue that it might be good to be backported, but who reads documentation?

Only LLMs these days...

And at least one human ;)

maintainer Applied
#4 lore raw
Quoted 5 lines · On Mon, 31 Aug 2026 15:07:06 +0200 "Javier Carrasco"…
Quoted 4 lines · Joshua Crofts
Quoted 1 line · On Mon, 31 Aug 2026 14:47:54 +0300 Andy Shevchenko…

On Mon, Aug 31, 2026 at 12:09:09PM +0200, Javier Carrasco wrote:

Quoted 8 lines
Quoted 6 lines
Quoted 4 lines
Quoted 2 lines

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

I would argue that it might be good to be backported, but who reads documentation?

Only LLMs these days...

And at least one human ;)

Applied. Not backported as at least to humans it should be easy to figure out what it should be once grep doesn't find any instances of _FAILED() form.

Thanks

Jonathan