aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/iio/Documentation/trigger.txt
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/staging/iio/Documentation/trigger.txt')
-rw-r--r--drivers/staging/iio/Documentation/trigger.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/iio/Documentation/trigger.txt b/drivers/staging/iio/Documentation/trigger.txt
index fc2012ebc100..75cc37ff1ed0 100644
--- a/drivers/staging/iio/Documentation/trigger.txt
+++ b/drivers/staging/iio/Documentation/trigger.txt
@@ -5,7 +5,7 @@ an IIO device. Whilst this can create device specific complexities
such triggers are registered with the core in the same way as
stand-alone triggers.
-struct iio_trig *trig = iio_allocate_trigger("<trigger format string>", ...);
+struct iio_trig *trig = iio_trigger_alloc("<trigger format string>", ...);
allocates a trigger structure. The key elements to then fill in within
a driver are: