OSDN Git Service

Documentation: iio: fix a typo
authorLars Poeschel <poeschel@lemonage.de>
Fri, 4 Sep 2020 09:19:11 +0000 (11:19 +0200)
committerJonathan Corbet <corbet@lwn.net>
Wed, 9 Sep 2020 17:41:20 +0000 (11:41 -0600)
Rename function name to the actual name referenced in
struct iio_sw_trigger_ops.

Signed-off-by: Lars Poeschel <poeschel@lemonage.de>
Link: https://lore.kernel.org/r/20200904091911.269715-1-poeschel@lemonage.de
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Documentation/iio/iio_configfs.rst

index 6e38cbb..3a5d76f 100644 (file)
@@ -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