]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blame - drivers/staging/iio/trigger_consumer.h
Staging: IIO: VTI sca3000 series accelerometer driver (spi)
[mirror_ubuntu-bionic-kernel.git] / drivers / staging / iio / trigger_consumer.h
CommitLineData
847ec80b
JC
1
2/* The industrial I/O core, trigger consumer handling functions
3 *
4 * Copyright (c) 2008 Jonathan Cameron
5 *
6 * This program is free software; you can redistribute it and/or modify it
7 * under the terms of the GNU General Public License version 2 as published by
8 * the Free Software Foundation.
9 */
10
11/**
12 * iio_device_register_trigger_consumer() - set up an iio_dev to use triggers.
13 * @dev_info: iio_dev associated with the device that will consume the trigger
14 **/
15int iio_device_register_trigger_consumer(struct iio_dev *dev_info)
16{
17 return 0;
18};
19/**
20 * iio_device_unregister_trigger_consumer() - reverse the registration process
21. * @dev_info: iio_dev associated with the device that consumed the trigger
22 **/
23int iio_device_unregister_trigger_consumer(struct iio_dev *dev_info)
24{
25 return 0;
26};