linux/drivers/iio/common/st_sensors
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
..
Kconfig
Makefile
st_sensors_buffer.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_sensors_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_sensors_i2c.c
st_sensors_spi.c iio:common: Use spi_sync_transfer() in STMicroelectronics common library 2013-03-16 10:18:10 +00:00
st_sensors_trigger.c iio:trigger: Introduce iio_tigger_{set,get}_drvdata 2013-03-25 21:06:09 +00:00