From: Zubair Lutfullah Date: Sun, 22 Sep 2013 08:20:00 +0000 (+0100) Subject: iio: ti_am335x_adc: cleanup trigger related code X-Git-Tag: v3.13-rc1~170^2~694^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a77d0209120aef181b6da252df2b4c83383c5a50;p=platform%2Fkernel%2Flinux-exynos.git 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 Signed-off-by: Jonathan Cameron --- 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 #include #include -#include -#include -#include 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]; };