summaryrefslogtreecommitdiffstats
path: root/drivers/iio/industrialio-event.c
diff options
context:
space:
mode:
authorIrina Tirdea2015-01-11 20:10:12 +0100
committerJonathan Cameron2015-01-27 19:49:55 +0100
commit17a2cbc27981b85a09a48425c2614ae0cb7be8cd (patch)
treebae8c699bf39612dd6525c9096f8e0ac55aa0cc5 /drivers/iio/industrialio-event.c
parentiio: core: Introduce CHANGE event type (diff)
downloadkernel-qcow2-linux-17a2cbc27981b85a09a48425c2614ae0cb7be8cd.tar.gz
kernel-qcow2-linux-17a2cbc27981b85a09a48425c2614ae0cb7be8cd.tar.xz
kernel-qcow2-linux-17a2cbc27981b85a09a48425c2614ae0cb7be8cd.zip
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>
Diffstat (limited to 'drivers/iio/industrialio-event.c')
-rw-r--r--drivers/iio/industrialio-event.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/iio/industrialio-event.c b/drivers/iio/industrialio-event.c
index b33ce55eb695..a4b397048f71 100644
--- a/drivers/iio/industrialio-event.c
+++ b/drivers/iio/industrialio-event.c
@@ -197,7 +197,6 @@ static const char * const iio_ev_type_text[] = {
[IIO_EV_TYPE_ROC] = "roc",
[IIO_EV_TYPE_THRESH_ADAPTIVE] = "thresh_adaptive",
[IIO_EV_TYPE_MAG_ADAPTIVE] = "mag_adaptive",
- [IIO_EV_TYPE_INSTANCE] = "instance",
[IIO_EV_TYPE_CHANGE] = "change",
};