iio: imu: adis16400 switch sampling frequency attr to core support.
authorJonathan Cameron <jic23@kernel.org>
Sun, 22 Jun 2014 19:59:00 +0000 (20:59 +0100)
committerJonathan Cameron <jic23@kernel.org>
Mon, 7 Jul 2014 08:49:43 +0000 (09:49 +0100)
commita07a97d0493446566b25d4a966b5e4792c1ba8a3
treee15a95fc3412f83dae1ff30c5460da7a0aa313a8
parent82695ef549b5299d3d9e088d6648289bda8ef3d8
iio: imu: adis16400 switch sampling frequency attr to core support.

By using the info_mask_shared_by_all element of the channel spec, access
to the sampling frequency becomes available to in kernel users of the
driver.  It also shortens and simplifies the code.

Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Reviewed-by: Hartmut Knaack <knaack.h@gmx.de>
Acked-by: Lars-Peter Clausen <lars@metafoo.de>
drivers/iio/imu/adis16400_core.c
This page took 0.029139 seconds and 5 git commands to generate.