summaryrefslogtreecommitdiff
path: root/drivers/staging/iio/adc/max1363_core.c
diff options
context:
space:
mode:
authorJonathan Cameron <jic23@cam.ac.uk>2011-05-18 14:41:23 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2011-05-19 16:14:49 -0700
commit6da288a35b1b90dd1cbe8a682ba1180f672b1c13 (patch)
tree97fce206937b54d73ab4174d2a9ab59a496e11ff /drivers/staging/iio/adc/max1363_core.c
parentd1dbf01128dd1d675bcbe85da49af6c9a8c56cff (diff)
staging:iio:adc:max1363 move to irqchip based threaded irq triggering
V2: Fixed missing free of pollfunc->name as pointed out by Michael Hennerich. 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/max1363_core.c')
-rw-r--r--drivers/staging/iio/adc/max1363_core.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/staging/iio/adc/max1363_core.c b/drivers/staging/iio/adc/max1363_core.c
index 892bb412968..935914ed361 100644
--- a/drivers/staging/iio/adc/max1363_core.c
+++ b/drivers/staging/iio/adc/max1363_core.c
@@ -22,7 +22,6 @@
*/
#include <linux/interrupt.h>
-#include <linux/workqueue.h>
#include <linux/device.h>
#include <linux/kernel.h>
#include <linux/sysfs.h>
@@ -1171,8 +1170,6 @@ static int __devinit max1363_probe(struct i2c_client *client,
/* this is only used for device removal purposes */
i2c_set_clientdata(client, indio_dev);
- atomic_set(&st->protect_ring, 0);
-
st->chip_info = &max1363_chip_info_tbl[id->driver_data];
st->client = client;