2020-09-04 09:28:21

by Lars Poeschel

[permalink] [raw]
Subject: [PATCH] Documentation: iio: fix a typo

From: Lars Poeschel <[email protected]>

Rename function name to the actual name referenced in
struct iio_sw_trigger_ops.

Signed-off-by: Lars Poeschel <[email protected]>
---
Documentation/iio/iio_configfs.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/iio/iio_configfs.rst b/Documentation/iio/iio_configfs.rst
index 6e38cbbd2981..3a5d76f9e2b9 100644
--- a/Documentation/iio/iio_configfs.rst
+++ b/Documentation/iio/iio_configfs.rst
@@ -53,7 +53,7 @@ kernel module following the interface in include/linux/iio/sw_trigger.h::
*/
}

- static int iio_trig_hrtimer_remove(struct iio_sw_trigger *swt)
+ static int iio_trig_sample_remove(struct iio_sw_trigger *swt)
{
/*
* This undoes the actions in iio_trig_sample_probe
--
2.28.0


2020-09-09 17:46:46

by Jonathan Corbet

[permalink] [raw]
Subject: Re: [PATCH] Documentation: iio: fix a typo

On Fri, 4 Sep 2020 11:19:11 +0200
[email protected] wrote:

> Rename function name to the actual name referenced in
> struct iio_sw_trigger_ops.
>
> Signed-off-by: Lars Poeschel <[email protected]>
> ---
> Documentation/iio/iio_configfs.rst | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Documentation/iio/iio_configfs.rst b/Documentation/iio/iio_configfs.rst
> index 6e38cbbd2981..3a5d76f9e2b9 100644
> --- a/Documentation/iio/iio_configfs.rst
> +++ b/Documentation/iio/iio_configfs.rst
> @@ -53,7 +53,7 @@ kernel module following the interface in include/linux/iio/sw_trigger.h::
> */
> }
>
> - static int iio_trig_hrtimer_remove(struct iio_sw_trigger *swt)
> + static int iio_trig_sample_remove(struct iio_sw_trigger *swt)
> {

Applied, thanks.

jon