From: Jonathan Cameron Date: Fri, 12 Aug 2011 16:08:46 +0000 (+0100) Subject: staging:iio:adc: header cleanup - remove unused. X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=6dd7bcaae20a6880f3a07a2d7daa2cb464446d08;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git staging:iio:adc: header cleanup - remove unused. Clear out all the excessive includes in the *_ring.c files. Mixture of cut and paste bloat and things needed for code that has gone away. Signed-off-by: Jonathan Cameron Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/iio/adc/ad7298_ring.c b/drivers/staging/iio/adc/ad7298_ring.c index a04c03352624..7423d4a9c0d6 100644 --- a/drivers/staging/iio/adc/ad7298_ring.c +++ b/drivers/staging/iio/adc/ad7298_ring.c @@ -7,17 +7,14 @@ */ #include -#include #include #include -#include #include #include "../iio.h" #include "../ring_generic.h" #include "../ring_sw.h" #include "../trigger.h" -#include "../sysfs.h" #include "ad7298.h" diff --git a/drivers/staging/iio/adc/ad7476_ring.c b/drivers/staging/iio/adc/ad7476_ring.c index a92fc5a1a604..86bbba87f328 100644 --- a/drivers/staging/iio/adc/ad7476_ring.c +++ b/drivers/staging/iio/adc/ad7476_ring.c @@ -11,14 +11,12 @@ #include #include #include -#include #include #include "../iio.h" #include "../ring_generic.h" #include "../ring_sw.h" #include "../trigger.h" -#include "../sysfs.h" #include "ad7476.h" diff --git a/drivers/staging/iio/adc/ad7606_ring.c b/drivers/staging/iio/adc/ad7606_ring.c index a199bf48396c..f8f574a52fd6 100644 --- a/drivers/staging/iio/adc/ad7606_ring.c +++ b/drivers/staging/iio/adc/ad7606_ring.c @@ -10,13 +10,11 @@ #include #include #include -#include #include "../iio.h" #include "../ring_generic.h" #include "../ring_sw.h" #include "../trigger.h" -#include "../sysfs.h" #include "ad7606.h" diff --git a/drivers/staging/iio/adc/ad7887_ring.c b/drivers/staging/iio/adc/ad7887_ring.c index 0ac7c0b9d71d..b77b120bdd11 100644 --- a/drivers/staging/iio/adc/ad7887_ring.c +++ b/drivers/staging/iio/adc/ad7887_ring.c @@ -8,17 +8,14 @@ */ #include -#include #include #include -#include #include #include "../iio.h" #include "../ring_generic.h" #include "../ring_sw.h" #include "../trigger.h" -#include "../sysfs.h" #include "ad7887.h" diff --git a/drivers/staging/iio/adc/ad799x_ring.c b/drivers/staging/iio/adc/ad799x_ring.c index 0376a826c26c..d84efd65f6b2 100644 --- a/drivers/staging/iio/adc/ad799x_ring.c +++ b/drivers/staging/iio/adc/ad799x_ring.c @@ -10,10 +10,8 @@ */ #include -#include #include #include -#include #include #include #include @@ -22,7 +20,6 @@ #include "../ring_generic.h" #include "../ring_sw.h" #include "../trigger.h" -#include "../sysfs.h" #include "ad799x.h" diff --git a/drivers/staging/iio/adc/max1363_ring.c b/drivers/staging/iio/adc/max1363_ring.c index f43befd1f776..696676fa25ae 100644 --- a/drivers/staging/iio/adc/max1363_ring.c +++ b/drivers/staging/iio/adc/max1363_ring.c @@ -9,11 +9,8 @@ */ #include -#include #include #include -#include -#include #include #include @@ -21,7 +18,6 @@ #include "../ring_generic.h" #include "../ring_sw.h" #include "../trigger.h" -#include "../sysfs.h" #include "max1363.h"