Skip to content

Commit a77d020

Browse files
ZubairLKjic23
authored andcommitted
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>
1 parent 98c08cf commit a77d020

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

‎drivers/iio/adc/ti_am335x_adc.c‎

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,17 +30,13 @@
3030
#include <linux/mfd/ti_am335x_tscadc.h>
3131
#include <linux/iio/buffer.h>
3232
#include <linux/iio/kfifo_buf.h>
33-
#include <linux/iio/trigger.h>
34-
#include <linux/iio/trigger_consumer.h>
35-
#include <linux/iio/triggered_buffer.h>
3633

3734
struct tiadc_device {
3835
struct ti_tscadc_dev *mfd_tscadc;
3936
int channels;
4037
u8 channel_line[8];
4138
u8 channel_step[8];
4239
int buffer_en_ch_steps;
43-
struct iio_trigger *trig;
4440
u16 data[8];
4541
};
4642

0 commit comments

Comments
 (0)