[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1379838005-15158-3-git-send-email-zubair.lutfullah@gmail.com>
Date: Sun, 22 Sep 2013 13:20:04 +0500
From: Zubair Lutfullah <zubair.lutfullah@...il.com>
To: jic23@....ac.uk
Cc: linux-iio@...r.kernel.org, linux-kernel@...r.kernel.org,
gregkh@...uxfoundation.org, zubair.lutfullah@...il.com
Subject: [PATCH 2/3] 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@...il.com>
---
drivers/iio/adc/ti_am335x_adc.c | 4 ----
1 file changed, 4 deletions(-)
diff --git a/drivers/iio/adc/ti_am335x_adc.c b/drivers/iio/adc/ti_am335x_adc.c
index 91dce1f..4eb63eb 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];
};
--
1.7.9.5
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists