iio: ti_am335x_adc: cleanup trigger related code
authorZubair Lutfullah <zubair.lutfullah@gmail.com>
Sun, 22 Sep 2013 08:20:00 +0000 (09:20 +0100)
committerJonathan Cameron <jic23@kernel.org>
Sun, 22 Sep 2013 18:02:48 +0000 (19:02 +0100)
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>
drivers/iio/adc/ti_am335x_adc.c

index 91dce1f7a770226f57223e26e91a2a77046a2b0f..4eb63eb42711d1e85b9ed88c58b6ca308bfbbe53 100644 (file)
@@ -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];
 };