staging:iio:sca3000 extract old event handling and move to poll for events from buffer
authorJonathan Cameron <jic23@cam.ac.uk>
Wed, 18 May 2011 13:41:01 +0000 (14:41 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 19 May 2011 23:06:13 +0000 (16:06 -0700)
commit25888dc51163a566f8c8f18a84c100851d12738c
tree4fad20bf110b3423d96fe968979a04e3cf1a736a
parent1e3345bc2c118c43f7f8a6db5d71c06e02b989da
staging:iio:sca3000 extract old event handling and move to poll for events from buffer

Fairly substantial rewrite as the code had bitrotted.
A rethink is needed for how to handle variable types in the new chan_spec world.

This patch restores sca3000 buffer usage to a working state.
V3: Rebase fixups.
V2: Move to new version of IIO_CHAN macro

Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/iio/accel/sca3000.h
drivers/staging/iio/accel/sca3000_core.c
drivers/staging/iio/accel/sca3000_ring.c