summaryrefslogtreecommitdiffstats
path: root/drivers/iio/light/cm36651.c
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2013-12-07 10:45:00 +0000
committerJonathan Cameron <jic23@kernel.org>2013-12-08 13:13:52 +0000
commitcb955852a48c29ef7bd847ce993102e2b58295d4 (patch)
treeed64e5c2f4510d90ab09724aa726d9689061a33b /drivers/iio/light/cm36651.c
parentbb7f9d90a5c0c29885cc37418ae208118e04bd4f (diff)
downloadop-kernel-dev-cb955852a48c29ef7bd847ce993102e2b58295d4.zip
op-kernel-dev-cb955852a48c29ef7bd847ce993102e2b58295d4.tar.gz
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 'drivers/iio/light/cm36651.c')
-rw-r--r--drivers/iio/light/cm36651.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/iio/light/cm36651.c b/drivers/iio/light/cm36651.c
index 2a0eb8d..000cc8e 100644
--- a/drivers/iio/light/cm36651.c
+++ b/drivers/iio/light/cm36651.c
@@ -614,10 +614,10 @@ static const struct iio_info cm36651_info = {
.driver_module = THIS_MODULE,
.read_raw = &cm36651_read_raw,
.write_raw = &cm36651_write_raw,
- .read_event_value_new = &cm36651_read_prox_thresh,
- .write_event_value_new = &cm36651_write_prox_thresh,
- .read_event_config_new = &cm36651_read_prox_event_config,
- .write_event_config_new = &cm36651_write_prox_event_config,
+ .read_event_value = &cm36651_read_prox_thresh,
+ .write_event_value = &cm36651_write_prox_thresh,
+ .read_event_config = &cm36651_read_prox_event_config,
+ .write_event_config = &cm36651_write_prox_event_config,
.attrs = &cm36651_attribute_group,
};
OpenPOWER on IntegriCloud