iio: imu: adis16480: Deal with filter freq in a generic way
authorStefan Popa <stefan.popa@analog.com>
Wed, 27 Feb 2019 16:14:26 +0000 (18:14 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Thu, 4 Apr 2019 19:19:43 +0000 (20:19 +0100)
commit83ec2d5404bfdf3aa67abfc594d0e6118d16ac06
tree2cb686bdd459912817198341397439c1928a62aa
parente0e6398e1e4e27b06307457be8a85a7a5c0f9ef0
iio: imu: adis16480: Deal with filter freq in a generic way

When setting the filter frequency, the driver looks into the
adis16480_def_filter_freqs table for the best match. Pass this table to
the chip_info struct since future devices will need to use a different
table.

Signed-off-by: Stefan Popa <stefan.popa@analog.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/imu/adis16480.c