linux/drivers/iio/gyro
Denis CIOCCA 607a568ab6 iio:common: Removed stuff macros, added num_data_channels on st_sensors struct and added support on one-shot sysfs reads to 3 byte channel
This patch introduce num_data_channels variable on st_sensors struct
to manage different type of channels (size or number) in
st_sensors_get_buffer_element function.
Removed ST_SENSORS_NUMBER_DATA_CHANNELS and ST_SENSORS_BYTE_FOR_CHANNEL
and used struct iio_chan_spec const *ch to catch data.
Added 3 byte channel data support on one-shot reads.

Signed-off-by: Denis Ciocca <denis.ciocca@st.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
2013-06-05 18:41:23 +01:00
..
adis16080.c iio:gyro:adis16080 move to info_mask_(shared_by_type/separate) 2013-03-17 19:49:34 +00:00
adis16136.c iio:gyro:adis16136 move to info_mask_(shared_by_type/separate) 2013-03-17 19:49:35 +00:00
adxrs450.c iio:gyro:adxrs450 move to info_mask_(shared_by_type/separate) 2013-03-17 19:49:35 +00:00
hid-sensor-gyro-3d.c iio:hid_sensors move to info_mask_(shared_by_type/separate) 2013-03-17 19:49:18 +00:00
itg3200_buffer.c iio:trigger: Introduce iio_tigger_{set,get}_drvdata 2013-03-25 21:06:09 +00:00
itg3200_core.c iio:gyro:itg3200_core move to info_mask_(shared_by_type/separate) 2013-03-17 19:49:35 +00:00
Kconfig iio: STMicroelectronics: remove three useless selects 2013-05-22 22:16:49 +01:00
Makefile iio: gyro: Add itg3200 2013-02-02 09:33:33 +00:00
st_gyro.h iio:gyro: Add STMicroelectronics gyroscopes driver 2013-01-31 17:56:43 +00:00
st_gyro_buffer.c iio:trigger: Introduce iio_tigger_{set,get}_drvdata 2013-03-25 21:06:09 +00:00
st_gyro_core.c iio:common: Removed stuff macros, added num_data_channels on st_sensors struct and added support on one-shot sysfs reads to 3 byte channel 2013-06-05 18:41:23 +01:00
st_gyro_i2c.c iio:st_sensors fix build when !CONFIG_IIO_TRIGGER 2013-02-09 15:22:29 +00:00
st_gyro_spi.c iio:st_sensors fix build when !CONFIG_IIO_TRIGGER 2013-02-09 15:22:29 +00:00