summaryrefslogtreecommitdiff
path: root/drivers/iio/gyro/adis16260.c
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 09:41:32 +0100
commit95bb8918f9bc87a69cb7a795b568e01afecff9cb (patch)
treee4e4f5b8df4366923a92e678f0a1333e6b038d17 /drivers/iio/gyro/adis16260.c
parent2d239c9e92087d5f4f667371ae350db9f76e3191 (diff)
iio: gyro: itg3200 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 a little. Signed-off-by: Jonathan Cameron <jic23@kernel.org> Reviewed-by: Hartmut Knaack <knaack.h@gmx.de> Cc: Manuel Stahl <manuel.stahl@iis.fraunhofer.de> Cc: Thorsten Nowak <thorsten.nowak@iis.fraunhofer.de> Cc: Christian Strobel <christian.strobel@iis.fraunhofer.de>
Diffstat (limited to 'drivers/iio/gyro/adis16260.c')
0 files changed, 0 insertions, 0 deletions