sysfs: replace nsamples with pre-samples and post-samples
It is difficult to support a board which has pre-samples and post-samples registers and synchronize these value with the nsamples zio_attribute and control field. But, it is really simple for board that hasn't pre and post samples to use these two attributes because they can use only one attribute for their purpose (only pre-sample or only post-sample). Signed-off-by:Federico Vaga <federico.vaga@gmail.com> Acked-by:
Alessandro Rubini <rubini@gnudd.com>
Showing
- Documentation/zio/sysfs.txt 16 additions, 15 deletionsDocumentation/zio/sysfs.txt
- include/linux/zio-sysfs.h 2 additions, 1 deletioninclude/linux/zio-sysfs.h
- triggers/zio-trig-irq.c 1 addition, 1 deletiontriggers/zio-trig-irq.c
- triggers/zio-trig-timer.c 1 addition, 1 deletiontriggers/zio-trig-timer.c
- triggers/zio-trig-user.c 1 addition, 1 deletiontriggers/zio-trig-user.c
- zio-sys.c 24 additions, 9 deletionszio-sys.c
Please register or sign in to comment