summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZubair Lutfullah <zubair.lutfullah@gmail.com>2013-09-22 09:20:00 +0100
committerJonathan Cameron <jic23@kernel.org>2013-09-22 19:02:48 +0100
commita77d0209120aef181b6da252df2b4c83383c5a50 (patch)
tree7c6a9f5c5e944af2a035bc2c07617881217dc105
parent98c08cf4e39748f1bcbeb48338638181f8b1eb60 (diff)
iio: ti_am335x_adc: cleanup trigger related code
Trigger related headers and variables are not needed as driver is now based on INDIO_BUFFER_HARDWARE mode Signed-off-by: Zubair Lutfullah <zubair.lutfullah@gmail.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
-rw-r--r--drivers/iio/adc/ti_am335x_adc.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/iio/adc/ti_am335x_adc.c b/drivers/iio/adc/ti_am335x_adc.c
index 91dce1f7a770..4eb63eb42711 100644
--- a/drivers/iio/adc/ti_am335x_adc.c
+++ b/drivers/iio/adc/ti_am335x_adc.c
@@ -30,9 +30,6 @@
#include <linux/mfd/ti_am335x_tscadc.h>
#include <linux/iio/buffer.h>
#include <linux/iio/kfifo_buf.h>
-#include <linux/iio/trigger.h>
-#include <linux/iio/trigger_consumer.h>
-#include <linux/iio/triggered_buffer.h>
struct tiadc_device {
struct ti_tscadc_dev *mfd_tscadc;
@@ -40,7 +37,6 @@ struct tiadc_device {
u8 channel_line[8];
u8 channel_step[8];
int buffer_en_ch_steps;
- struct iio_trigger *trig;
u16 data[8];
};