diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2013-12-07 14:45:00 +0400 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2013-12-08 17:13:52 +0400 |
commit | cb955852a48c29ef7bd847ce993102e2b58295d4 (patch) | |
tree | ed64e5c2f4510d90ab09724aa726d9689061a33b /drivers/iio/dac | |
parent | bb7f9d90a5c0c29885cc37418ae208118e04bd4f (diff) | |
download | linux-cb955852a48c29ef7bd847ce993102e2b58295d4.tar.xz |
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/dac')
-rw-r--r-- | drivers/iio/dac/ad5421.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/iio/dac/ad5421.c b/drivers/iio/dac/ad5421.c index 59a0cb51265c..1cb15d8e94b7 100644 --- a/drivers/iio/dac/ad5421.c +++ b/drivers/iio/dac/ad5421.c @@ -458,9 +458,9 @@ static int ad5421_read_event_value(struct iio_dev *indio_dev, static const struct iio_info ad5421_info = { .read_raw = ad5421_read_raw, .write_raw = ad5421_write_raw, - .read_event_config_new = ad5421_read_event_config, - .write_event_config_new = ad5421_write_event_config, - .read_event_value_new = ad5421_read_event_value, + .read_event_config = ad5421_read_event_config, + .write_event_config = ad5421_write_event_config, + .read_event_value = ad5421_read_event_value, .driver_module = THIS_MODULE, }; |