diff options
Diffstat (limited to 'include/linux/iio/events.h')
| -rw-r--r-- | include/linux/iio/events.h | 18 | 
1 files changed, 0 insertions, 18 deletions
diff --git a/include/linux/iio/events.h b/include/linux/iio/events.h index 13ce220c700..8bbd7bc1043 100644 --- a/include/linux/iio/events.h +++ b/include/linux/iio/events.h @@ -26,20 +26,6 @@ struct iio_event_data {  #define IIO_GET_EVENT_FD_IOCTL _IOR('i', 0x90, int) -enum iio_event_type { -	IIO_EV_TYPE_THRESH, -	IIO_EV_TYPE_MAG, -	IIO_EV_TYPE_ROC, -	IIO_EV_TYPE_THRESH_ADAPTIVE, -	IIO_EV_TYPE_MAG_ADAPTIVE, -}; - -enum iio_event_direction { -	IIO_EV_DIR_EITHER, -	IIO_EV_DIR_RISING, -	IIO_EV_DIR_FALLING, -}; -  /**   * IIO_EVENT_CODE() - create event identifier   * @chan_type:	Type of the channel. Should be one of enum iio_chan_type. @@ -60,10 +46,6 @@ enum iio_event_direction {  	 ((u16)chan)) -#define IIO_EV_DIR_MAX 4 -#define IIO_EV_BIT(type, direction)			\ -	(1 << (type*IIO_EV_DIR_MAX + direction)) -  /**   * IIO_MOD_EVENT_CODE() - create event identifier for modified channels   * @chan_type:	Type of the channel. Should be one of enum iio_chan_type.  | 
