linux-doc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Documentation: iio: fix a typo
@ 2020-09-04  9:19 poeschel
  2020-09-09 17:41 ` Jonathan Corbet
  0 siblings, 1 reply; 2+ messages in thread
From: poeschel @ 2020-09-04  9:19 UTC (permalink / raw)
  To: linux-kernel, linux-doc, Mauro Carvalho Chehab, Jonathan Corbet
  Cc: Lars Poeschel

From: Lars Poeschel <poeschel@lemonage.de>

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

Signed-off-by: Lars Poeschel <poeschel@lemonage.de>
---
 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


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

* Re: [PATCH] Documentation: iio: fix a typo
  2020-09-04  9:19 [PATCH] Documentation: iio: fix a typo poeschel
@ 2020-09-09 17:41 ` Jonathan Corbet
  0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Corbet @ 2020-09-09 17:41 UTC (permalink / raw)
  To: poeschel; +Cc: linux-kernel, linux-doc, Mauro Carvalho Chehab

On Fri,  4 Sep 2020 11:19:11 +0200
poeschel@lemonage.de wrote:

> Rename function name to the actual name referenced in
> struct iio_sw_trigger_ops.
> 
> Signed-off-by: Lars Poeschel <poeschel@lemonage.de>
> ---
>  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

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

end of thread, other threads:[~2020-09-09 17:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-09-04  9:19 [PATCH] Documentation: iio: fix a typo poeschel
2020-09-09 17:41 ` Jonathan Corbet

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).