diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2013-12-07 14:45:00 +0400 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2013-12-08 17:13:52 +0400 |
commit | cb955852a48c29ef7bd847ce993102e2b58295d4 (patch) | |
tree | ed64e5c2f4510d90ab09724aa726d9689061a33b /include/linux/iio/events.h | |
parent | bb7f9d90a5c0c29885cc37418ae208118e04bd4f (diff) | |
download | linux-cb955852a48c29ef7bd847ce993102e2b58295d4.tar.xz |
iio: Remove support for the legacy event config interface
Now that all drivers have been converted to the new event config interface we
can remove for the legacy event config interface. Also drop the '_new' suffix
for the event config interface callbacks, since those are the only callbacks
now.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'include/linux/iio/events.h')
-rw-r--r-- | include/linux/iio/events.h | 4 |
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. |