Re: [PATCH] Documentation: iio: fix typo in triggered-buffers example

From: Andy Shevchenko

Date: Wed May 13 2026 - 07:00:01 EST


On Wed, May 13, 2026 at 03:06:57PM +0500, Stepan Ionichev wrote:
> The function call example in triggered-buffers.rst uses "polfunc"

No need to repeat the file name here, see below what is better to use.

> (single 'l') while the function is defined as "pollfunc" (double
> 'l') on line 24 and referenced as "pollfunc" further down on
> line 56. Fix the misspelling so the example is consistent.

Line references are fragile, try to describe in terms of section and example
(names).

...

Code fix is good, nevertheless.

--
With Best Regards,
Andy Shevchenko