summaryrefslogtreecommitdiff
path: root/drivers/iio/common
diff options
context:
space:
mode:
authorJonathan Cameron <jic23@kernel.org>2014-06-22 20:59:00 +0100
committerJonathan Cameron <jic23@kernel.org>2014-07-07 10:00:59 +0100
commite4f959390178987f3ad73ff89c6918e564172359 (patch)
treea4f0dd191091d42f7a71800255699ac607c34c03 /drivers/iio/common
parenta07a97d0493446566b25d4a966b5e4792c1ba8a3 (diff)
iio: imu: adis16480 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>
Diffstat (limited to 'drivers/iio/common')
0 files changed, 0 insertions, 0 deletions