staging:iio: buffer cleanup series.
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest13 of 16 patches 6 repliesIn review
13 of 16 patches are in this archive. The cover letter announces 16.
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/16 | staging:iio:buffer drop bpe field.drivers/ drivers/ drivers/ +9 more | +0 | 0 replies | |
| 2/16 | staging:iio: remove userspace access to bytes per datum.drivers/ drivers/ drivers/ +1 more | +0 | 0 replies | |
| 3/16 | staging:iio:buffer move setup ops from buffer instance to iio_devdrivers/ drivers/ drivers/ +20 more | +46 | 0 replies | |
| 4/16 | staging:iio: scrap scan_count and ensure all drivers use active_scan_maskdrivers/ drivers/ drivers/ +16 more | +99 | 5 replies | |
| 5/16 | staging:iio:buffer remove unused owner field from struct iio_bufferdrivers/ drivers/ drivers/ +8 more | +0 | 0 replies | |
| 6/16 | staging:iio:accel:lis3l02dq scrap reading from buffer for sysfs access.drivers/ drivers/ drivers/ | +3 | 0 replies | |
| 10/16 | staging:iio:adc:ad7606 remove buffer access to data from sysfs read.drivers/ drivers/ drivers/ | +1 | 0 replies | |
| 11/16 | staging:iio:adc:ad7993 stop reading from buffer for sysfs raw read.drivers/ | +1 | 0 replies | |
| 12/16 | staging:iio:adc:ad7887 stop reading from buffer for sysfs access.drivers/ drivers/ drivers/ | +1 | 0 replies | |
| 13/16 | staging:iio:adc:ad799x stop reading from buffer for sysfs accessesdrivers/ drivers/ drivers/ | +1 | 0 replies | |
| 14/16 | staging:iio:adc:max1363 stop reading from buffer for sysfs accessdrivers/ drivers/ drivers/ | +21 | 0 replies | |
| 15/16 | staging:iio:ring_sw don't provide read last function.drivers/ | +0 | 0 replies | |
| 16/16 | staging:iio:buffer stop allowing for read_last callback.drivers/ | +0 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 00/16] staging:iio: buffer cleanup series.
A fairly straight forward set of cleanups of the buffer code. Recent discussion concluded that having access to channels being captured to a buffer by sysfs was an unnecessary complexity so that ist dropped. The other patches get rid of some infrastructure and move the setup ops from a buffer instance to the device (as they will be relevant to all buffers when we allow more than one)
Anyhow, if people could verify I haven't messed any of this up, that would be great!
Jonathan
Jonathan Cameron (16):
staging:iio:buffer drop bpe field.
staging:iio: remove userspace access to bytes per datum. staging:iio:buffer move setup ops from buffer instance to iio_dev staging:iio: scrap scan_count and ensure all drivers use
active_scan_mask
staging:iio:buffer remove unused owner field from struct iio_buffer staging:iio:accel:lis3l02dq scrap reading from buffer for sysfs
access.
staging:iio:adc:ad7192 scrap read from buffer for sysfs access. staging:iio:adc:ad7476 scrap read from buffer for sysfs access. staging:iio:adc:ad7606 remove buffer access for sysfs interfaces. staging:iio:adc:ad7606 remove buffer access to data from sysfs read. staging:iio:adc:ad7993 stop reading from buffer for sysfs raw read. staging:iio:adc:ad7887 stop reading from buffer for sysfs access. staging:iio:adc:ad799x stop reading from buffer for sysfs accesses staging:iio:adc:max1363 stop reading from buffer for sysfs access staging:iio:ring_sw don't provide read last function. staging:iio:buffer stop allowing for read_last callback.
drivers/staging/iio/accel/adis16201_ring.c | 14 ++--- drivers/staging/iio/accel/adis16203_ring.c | 14 ++--- drivers/staging/iio/accel/adis16204_ring.c | 14 ++--- drivers/staging/iio/accel/adis16209_ring.c | 9 ++-- drivers/staging/iio/accel/adis16240_ring.c | 9 ++-- drivers/staging/iio/accel/lis3l02dq.h | 12 ----- drivers/staging/iio/accel/lis3l02dq_core.c | 9 +-- drivers/staging/iio/accel/lis3l02dq_ring.c | 59 +++++----------------- drivers/staging/iio/accel/sca3000_ring.c | 4 +- drivers/staging/iio/adc/ad7192.c | 34 +++---------- drivers/staging/iio/adc/ad7298.h | 5 -- drivers/staging/iio/adc/ad7298_core.c | 8 +-- drivers/staging/iio/adc/ad7298_ring.c | 43 +++------------- drivers/staging/iio/adc/ad7476.h | 5 -- drivers/staging/iio/adc/ad7476_core.c | 2 +- drivers/staging/iio/adc/ad7476_ring.c | 29 +---------- drivers/staging/iio/adc/ad7606.h | 1 - drivers/staging/iio/adc/ad7606_core.c | 2 +- drivers/staging/iio/adc/ad7606_ring.c | 28 +---------- drivers/staging/iio/adc/ad7793.c | 35 +++---------- drivers/staging/iio/adc/ad7887.h | 5 -- drivers/staging/iio/adc/ad7887_core.c | 2 +- drivers/staging/iio/adc/ad7887_ring.c | 44 ++--------------- drivers/staging/iio/adc/ad799x.h | 6 -- drivers/staging/iio/adc/ad799x_core.c | 3 +- drivers/staging/iio/adc/ad799x_ring.c | 45 ++++-------------- drivers/staging/iio/adc/max1363.h | 7 --- drivers/staging/iio/adc/max1363_core.c | 51 ++++++++------------ drivers/staging/iio/adc/max1363_ring.c | 38 +-------------- drivers/staging/iio/buffer.h | 33 ------------- drivers/staging/iio/gyro/adis16260_ring.c | 9 ++-- drivers/staging/iio/iio.h | 16 ++++++ drivers/staging/iio/iio_simple_dummy_buffer.c | 12 ++-- drivers/staging/iio/impedance-analyzer/ad5933.c | 16 ++++--- drivers/staging/iio/imu/adis16400_ring.c | 23 +++++---- drivers/staging/iio/industrialio-buffer.c | 37 ++++---------- drivers/staging/iio/kfifo_buf.c | 2 - drivers/staging/iio/meter/ade7758_ring.c | 10 ++-- drivers/staging/iio/ring_sw.c | 35 ------------- 39 files changed, 177 insertions(+), 553 deletions(-)
Signature · 1 line
1.7.7.3