diff options
author | Alexandru Ardelean <alexandru.ardelean@analog.com> | 2019-03-22 22:44:40 +0200 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2019-04-04 20:20:26 +0100 |
commit | 0e92e2d036232da1543599dc9b7acc1ce4289d1b (patch) | |
tree | ef02c10668d99b92b36887c42e6d0f68caea41f9 /drivers/iio/imu/adis16400_core.c | |
parent | 5075e0720d93a84e059759c5d8c6a78613d0face (diff) | |
download | linux-stable-0e92e2d036232da1543599dc9b7acc1ce4289d1b.tar.gz linux-stable-0e92e2d036232da1543599dc9b7acc1ce4289d1b.tar.bz2 linux-stable-0e92e2d036232da1543599dc9b7acc1ce4289d1b.zip |
iio: imu: adis16400: move burst logic to ADIS lib
This change has been done separately, so that it's easier to visualize the
changed logic in the adis_scan_update() function.
Most of the function in this `adis16400_update_scan_mode()` that deals with
burst-mode will be re-used in the ADIS16480, but with different parameters.
Signed-off-by: Alexandru Ardelean <alexandru.ardelean@analog.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/imu/adis16400_core.c')
-rw-r--r-- | drivers/iio/imu/adis16400_core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iio/imu/adis16400_core.c b/drivers/iio/imu/adis16400_core.c index 093c809dae50..c75d23bc49bf 100644 --- a/drivers/iio/imu/adis16400_core.c +++ b/drivers/iio/imu/adis16400_core.c @@ -886,7 +886,7 @@ static struct adis16400_chip_info adis16400_chips[] = { static const struct iio_info adis16400_info = { .read_raw = &adis16400_read_raw, .write_raw = &adis16400_write_raw, - .update_scan_mode = adis16400_update_scan_mode, + .update_scan_mode = adis_update_scan_mode, .debugfs_reg_access = adis_debugfs_reg_access, }; |