linux-stable/drivers/iio/gyro
Jonathan Cameron 82695ef549 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>
2014-07-07 09:44:17 +01:00
..
adis16080.c iio:adis16080: Use spi_sync_transfer() 2013-10-05 11:58:54 +01:00
adis16130.c iio: gyro: adis16130: Use devm_iio_device_register 2013-11-24 21:07:17 +00:00
adis16136.c iio: gyro: adis16136: Use devm_iio_device_alloc 2013-08-17 15:50:54 +01:00
adis16260.c iio: adis: Switch sampling frequency attr to core support. 2014-07-07 09:44:17 +01:00
adxrs450.c iio: gyro: adxrs450: Use devm_iio_device_register 2013-11-24 21:07:18 +00:00
hid-sensor-gyro-3d.c iio: hid-sensors: Gyro 3D: Raw read support 2014-05-05 10:59:50 +01:00
itg3200_buffer.c iio:itg3200: Use iio_push_to_buffers_with_timestamp() 2013-09-21 19:23:56 +01:00
itg3200_core.c iio: gyro: itg3200 switch sampling frequency attr to core support. 2014-07-07 09:41:32 +01:00
Kconfig iio:gyro: bug on L3GD20H gyroscope support 2014-02-18 10:24:49 +00:00
Makefile staging:iio:adis16260: Move out of staging 2013-08-03 18:41:22 +01:00
st_gyro.h iio:gyro: bug on L3GD20H gyroscope support 2014-02-18 10:24:49 +00:00
st_gyro_buffer.c iio:st_gyro: Remove redundant call to iio_sw_buffer_preenable(). 2013-10-16 19:12:46 +01:00
st_gyro_core.c iio:st sensors: remove custom sampling frequence attribute in favour of core support. 2014-07-07 09:39:57 +01:00
st_gyro_i2c.c iio:gyro: bug on L3GD20H gyroscope support 2014-02-18 10:24:49 +00:00
st_gyro_spi.c iio:gyro: bug on L3GD20H gyroscope support 2014-02-18 10:24:49 +00:00