staging:iio: Streamline API function naming
[linux-2.6-block.git] / drivers / staging / iio / Documentation / trigger.txt
index fc2012ebc100a533af42f1e05095d601adeb2703..75cc37ff1ed007dc722f37c1405e619208deb88a 100644 (file)
@@ -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: