mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
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>
This commit is contained in:
parent
bb7f9d90a5
commit
cb955852a4
16 changed files with 97 additions and 235 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue