Commit 6dd7bcaa authored by Jonathan Cameron's avatar Jonathan Cameron Committed by Greg Kroah-Hartman

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: default avatarJonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent ce87c128
...@@ -7,17 +7,14 @@ ...@@ -7,17 +7,14 @@
*/ */
#include <linux/interrupt.h> #include <linux/interrupt.h>
#include <linux/device.h>
#include <linux/kernel.h> #include <linux/kernel.h>
#include <linux/slab.h> #include <linux/slab.h>
#include <linux/sysfs.h>
#include <linux/spi/spi.h> #include <linux/spi/spi.h>
#include "../iio.h" #include "../iio.h"
#include "../ring_generic.h" #include "../ring_generic.h"
#include "../ring_sw.h" #include "../ring_sw.h"
#include "../trigger.h" #include "../trigger.h"
#include "../sysfs.h"
#include "ad7298.h" #include "ad7298.h"
......
...@@ -11,14 +11,12 @@ ...@@ -11,14 +11,12 @@
#include <linux/device.h> #include <linux/device.h>
#include <linux/kernel.h> #include <linux/kernel.h>
#include <linux/slab.h> #include <linux/slab.h>
#include <linux/sysfs.h>
#include <linux/spi/spi.h> #include <linux/spi/spi.h>
#include "../iio.h" #include "../iio.h"
#include "../ring_generic.h" #include "../ring_generic.h"
#include "../ring_sw.h" #include "../ring_sw.h"
#include "../trigger.h" #include "../trigger.h"
#include "../sysfs.h"
#include "ad7476.h" #include "ad7476.h"
......
...@@ -10,13 +10,11 @@ ...@@ -10,13 +10,11 @@
#include <linux/device.h> #include <linux/device.h>
#include <linux/kernel.h> #include <linux/kernel.h>
#include <linux/slab.h> #include <linux/slab.h>
#include <linux/sysfs.h>
#include "../iio.h" #include "../iio.h"
#include "../ring_generic.h" #include "../ring_generic.h"
#include "../ring_sw.h" #include "../ring_sw.h"
#include "../trigger.h" #include "../trigger.h"
#include "../sysfs.h"
#include "ad7606.h" #include "ad7606.h"
......
...@@ -8,17 +8,14 @@ ...@@ -8,17 +8,14 @@
*/ */
#include <linux/interrupt.h> #include <linux/interrupt.h>
#include <linux/device.h>
#include <linux/kernel.h> #include <linux/kernel.h>
#include <linux/slab.h> #include <linux/slab.h>
#include <linux/sysfs.h>
#include <linux/spi/spi.h> #include <linux/spi/spi.h>
#include "../iio.h" #include "../iio.h"
#include "../ring_generic.h" #include "../ring_generic.h"
#include "../ring_sw.h" #include "../ring_sw.h"
#include "../trigger.h" #include "../trigger.h"
#include "../sysfs.h"
#include "ad7887.h" #include "ad7887.h"
......
...@@ -10,10 +10,8 @@ ...@@ -10,10 +10,8 @@
*/ */
#include <linux/interrupt.h> #include <linux/interrupt.h>
#include <linux/device.h>
#include <linux/slab.h> #include <linux/slab.h>
#include <linux/kernel.h> #include <linux/kernel.h>
#include <linux/sysfs.h>
#include <linux/list.h> #include <linux/list.h>
#include <linux/i2c.h> #include <linux/i2c.h>
#include <linux/bitops.h> #include <linux/bitops.h>
...@@ -22,7 +20,6 @@ ...@@ -22,7 +20,6 @@
#include "../ring_generic.h" #include "../ring_generic.h"
#include "../ring_sw.h" #include "../ring_sw.h"
#include "../trigger.h" #include "../trigger.h"
#include "../sysfs.h"
#include "ad799x.h" #include "ad799x.h"
......
...@@ -9,11 +9,8 @@ ...@@ -9,11 +9,8 @@
*/ */
#include <linux/interrupt.h> #include <linux/interrupt.h>
#include <linux/device.h>
#include <linux/slab.h> #include <linux/slab.h>
#include <linux/kernel.h> #include <linux/kernel.h>
#include <linux/sysfs.h>
#include <linux/list.h>
#include <linux/i2c.h> #include <linux/i2c.h>
#include <linux/bitops.h> #include <linux/bitops.h>
...@@ -21,7 +18,6 @@ ...@@ -21,7 +18,6 @@
#include "../ring_generic.h" #include "../ring_generic.h"
#include "../ring_sw.h" #include "../ring_sw.h"
#include "../trigger.h" #include "../trigger.h"
#include "../sysfs.h"
#include "max1363.h" #include "max1363.h"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment