summaryrefslogtreecommitdiff
path: root/drivers/staging/iio/iio.h
diff options
context:
space:
mode:
authorJonathan Cameron <jic23@cam.ac.uk>2011-05-18 14:42:19 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2011-05-19 16:15:01 -0700
commit02db0bb33acf8afbdb9fb4fbaa99f7185337098f (patch)
treef617acf0a309a9ef8529df28b9db111966dbbd39 /drivers/staging/iio/iio.h
parent383f650f6cf739b256eb24c4a1d397d883de56ff (diff)
staging:iio:buffer - remove unused event code for buffer events.
These events are no longer passed up to userspace. ad7745 - was using these events to indicate directly dataready events. I'm not sure when it ever makes sense to push these to userspace so for now I've taken them to event codes 0 and 1 until someone has time to make this driver do something more standard. (they were arbitary before, they still are, be it in a different way!) Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/iio/iio.h')
-rw-r--r--drivers/staging/iio/iio.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/staging/iio/iio.h b/drivers/staging/iio/iio.h
index 1ad9480fc694..4dc4ff0232a4 100644
--- a/drivers/staging/iio/iio.h
+++ b/drivers/staging/iio/iio.h
@@ -28,10 +28,6 @@
/* naughty temporary hack to match these against the event version
- need to flattern these together */
enum iio_chan_type {
- /* Need this here for now to support buffer events
- * set to 0 to avoid changes to ring_generic.c */
- IIO_BUFFER = 0,
-
/* real channel types */
IIO_IN,
IIO_CURRENT,