summaryrefslogtreecommitdiffstats
path: root/include/linux/iio/events.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/iio/events.h')
-rw-r--r--include/linux/iio/events.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/linux/iio/events.h b/include/linux/iio/events.h
index 5dab2c41031f..8bbd7bc1043d 100644
--- a/include/linux/iio/events.h
+++ b/include/linux/iio/events.h
@@ -46,10 +46,6 @@ struct iio_event_data {
((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.
OpenPOWER on IntegriCloud