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>
This commit is contained in:
committed by
Jonathan Cameron
parent
bb7f9d90a5
commit
cb955852a4
@@ -1039,10 +1039,10 @@ static const struct iio_info max1238_info = {
|
||||
};
|
||||
|
||||
static const struct iio_info max1363_info = {
|
||||
.read_event_value_new = &max1363_read_thresh,
|
||||
.write_event_value_new = &max1363_write_thresh,
|
||||
.read_event_config_new = &max1363_read_event_config,
|
||||
.write_event_config_new = &max1363_write_event_config,
|
||||
.read_event_value = &max1363_read_thresh,
|
||||
.write_event_value = &max1363_write_thresh,
|
||||
.read_event_config = &max1363_read_event_config,
|
||||
.write_event_config = &max1363_write_event_config,
|
||||
.read_raw = &max1363_read_raw,
|
||||
.update_scan_mode = &max1363_update_scan_mode,
|
||||
.driver_module = THIS_MODULE,
|
||||
|
||||
Reference in New Issue
Block a user