]> git.baikalelectronics.ru Git - kernel.git/commit
staging:iio:Documentation Simple dummy driver to explain the basics
authorJonathan Cameron <jic23@cam.ac.uk>
Fri, 14 Oct 2011 15:34:13 +0000 (16:34 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 17 Oct 2011 22:36:29 +0000 (15:36 -0700)
commit7e9426cc217275fcbb72413fb947022695fef925
treed502afefaba4cffec0646779c6aa684e6371e358
parent0e1c89427d18c30b0a134ee46a758a9829c48c1e
staging:iio:Documentation Simple dummy driver to explain the basics

The documenation explaining how to go about writing a driver is lagging
horribly, so here is another approach; an actual driver with
lots of explanatory comments.

Note it is currently minimal in that there are no events and no
buffer.  With care they can probably be added in additional files
without messing up the clarity of what we have here.

V2: Addressed some of Manuel Stahl's feedback.

Fixed up kernel doc.
Added more general description.

Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/iio/Kconfig
drivers/staging/iio/Makefile
drivers/staging/iio/iio_simple_dummy.c [new file with mode: 0644]