]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc7e4bba4051cba369a5525f6d61dc52eaa5c97a6
treebae8c699bf39612dd6525c9096f8e0ac55aa0cc5
parentf6302b0aa71703ffc32d92e13c0bd0edc1914207
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