summaryrefslogtreecommitdiff
path: root/drivers/staging/iio/adc/ad7298_core.c
diff options
context:
space:
mode:
authorJonathan Cameron <jic23@cam.ac.uk>2011-05-18 14:41:37 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2011-05-19 16:14:52 -0700
commit70d4fd3fcd47e01c29754d59fffaaee47a690a50 (patch)
treea729320fbf6e6980c051b22923277b43efa3151b /drivers/staging/iio/adc/ad7298_core.c
parentd6d30d2685ca7605c5e142f40b8e0777d54755c2 (diff)
staging:iio:adc:ad7298 move to irqchip based trigger handling.
Untested. This one is of a different form, so worth a closer look than the previous incredibly similar patches (which were based on the adis16400 that I have tested). Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/iio/adc/ad7298_core.c')
-rw-r--r--drivers/staging/iio/adc/ad7298_core.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/staging/iio/adc/ad7298_core.c b/drivers/staging/iio/adc/ad7298_core.c
index 8b3a4904682a..40bbb427918f 100644
--- a/drivers/staging/iio/adc/ad7298_core.c
+++ b/drivers/staging/iio/adc/ad7298_core.c
@@ -6,7 +6,6 @@
* Licensed under the GPL-2.
*/
-#include <linux/workqueue.h>
#include <linux/device.h>
#include <linux/kernel.h>
#include <linux/slab.h>
@@ -170,7 +169,6 @@ static int __devinit ad7298_probe(struct spi_device *spi)
spi_set_drvdata(spi, st);
- atomic_set(&st->protect_ring, 0);
st->spi = spi;
st->indio_dev = iio_allocate_device(0);