summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorJonathan Cameron <jic23@kernel.org>2014-06-22 23:59:00 +0400
committerJonathan Cameron <jic23@kernel.org>2014-07-07 12:44:17 +0400
commit82695ef549b5299d3d9e088d6648289bda8ef3d8 (patch)
treea9f29217a52350fb3000db4f112723e1249a2bec /scripts
parent95bb8918f9bc87a69cb7a795b568e01afecff9cb (diff)
downloadlinux-82695ef549b5299d3d9e088d6648289bda8ef3d8.tar.xz
iio: adis: Switch sampling frequency attr to core support.
By using the info_mask_shared_by_all element of the channel spec, acce to the sampling frequency becomes available to in kernel users of the driver. It also shortens and simplifies the code. This particular conversion was made more complicated by the shared library and the fact that a number of the drivers do not actually have support for setting or reading the sampling frequency. The hardware, in those cases investigated supports it. It's just never been implemented. 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 'scripts')
0 files changed, 0 insertions, 0 deletions