From 6da288a35b1b90dd1cbe8a682ba1180f672b1c13 Mon Sep 17 00:00:00 2001 From: Jonathan Cameron Date: Wed, 18 May 2011 14:41:23 +0100 Subject: 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 Signed-off-by: Greg Kroah-Hartman --- drivers/staging/iio/adc/max1363_core.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'drivers/staging/iio/adc/max1363_core.c') 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 -#include #include #include #include @@ -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; -- cgit v1.2.3