other versions
- stretch 4.9.168-1
DEVM_IIO_TRIGGER_ALL(9) | Industrial I/O core | DEVM_IIO_TRIGGER_ALL(9) |
NAME¶
devm_iio_trigger_alloc - Resource-managed iio_trigger_allocSYNOPSIS¶
struct iio_trigger * devm_iio_trigger_alloc(struct device * dev, const char * fmt, ...);
ARGUMENTS¶
devDevice to allocate iio_trigger for
fmt
trigger name format. If it includes format specifiers,
the additional arguments following format are formatted and inserted in the
resulting string replacing their respective specifiers.
...
variable arguments
DESCRIPTION¶
Managed iio_trigger_alloc. iio_trigger allocated with this function is automatically freed on driver detach.If an iio_trigger allocated with this function needs to be freed separately, devm_iio_trigger_free must be used.
RETURN¶
Pointer to allocated iio_trigger on success, NULL on failure.AUTHOR¶
Daniel Baluta <daniel.baluta@intel.com>Author.
COPYRIGHT¶
April 2019 | Kernel Hackers Manual 4.9. |