OSDN Git Service

iio: core: Remove IIO_EV_TYPE_INSTANCE
authorIrina Tirdea <irina.tirdea@intel.com>
Sun, 11 Jan 2015 19:10:12 +0000 (21:10 +0200)
committerJonathan Cameron <jic23@kernel.org>
Tue, 27 Jan 2015 18:49:55 +0000 (18:49 +0000)
commit17a2cbc27981b85a09a48425c2614ae0cb7be8cd
treebae8c699bf39612dd6525c9096f8e0ac55aa0cc5
parent27be84236d75c13a83c45d850390f40b58401d97
iio: core: Remove IIO_EV_TYPE_INSTANCE

By introducing IIO_EV_TYPE_CHANGE, IIO_EV_TYPE_INSTANCE becomes redundant.
The effect of IIO_EV_TYPE_INSTANCE can be obtained by using IIO_EV_TYPE_CHANGE
with IIO_EV_INFO_VALUE set to 1.

Remove all instances of IIO_EV_TYPE_INSTANCE and replace them with
IIO_EV_TYPE_CHANGE where needed.

Signed-off-by: Irina Tirdea <irina.tirdea@intel.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/industrialio-event.c
drivers/staging/iio/Documentation/iio_event_monitor.c
drivers/staging/iio/iio_simple_dummy.c
drivers/staging/iio/iio_simple_dummy_events.c
include/linux/iio/types.h