diff options
| author | Denis CIOCCA <denis.ciocca@st.com> | 2013-06-03 15:58:00 +0100 |
|---|---|---|
| committer | Moyster <oysterized@gmail.com> | 2018-12-11 15:51:10 +0100 |
| commit | 8040f192ec6353c290185de7e7666f43398f131f (patch) | |
| tree | 5543a70f0ce5acb19c53cdc2219d4b2948632924 /include/linux/debugobjects.h | |
| parent | d8f658cb33572bb5d48b41dd22b16a3e24be8c46 (diff) | |
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>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
