diff options
author | Jonathan Cameron <jic23@cam.ac.uk> | 2011-05-18 14:41:49 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-05-19 16:14:55 -0700 |
commit | a34c26dcd48a0c6e03ea175e152e787414861aa2 (patch) | |
tree | cd0787e70c059b208e9424ea0d5bad84ed92f028 /drivers/staging/iio/accel/adis16209.h | |
parent | ad3eb9ab1276cc69bb9cc72dffc074d1a317a6c0 (diff) |
staging:iio:accel:adis16209 move to chan_spec based setup.
For clean drivers its easier to convert to chan_spec based
registration than to work around the scan_el attributes
going away.
Some minor cleanups done whilst here.
Untested.
V2: IIO_CHAN macro used.
Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/iio/accel/adis16209.h')
-rw-r--r-- | drivers/staging/iio/accel/adis16209.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/iio/accel/adis16209.h b/drivers/staging/iio/accel/adis16209.h index 9ef596f3de5b..58d08db6f9b5 100644 --- a/drivers/staging/iio/accel/adis16209.h +++ b/drivers/staging/iio/accel/adis16209.h @@ -119,7 +119,7 @@ struct adis16209_state { struct mutex buf_lock; }; -int adis16209_set_irq(struct device *dev, bool enable); +int adis16209_set_irq(struct iio_dev *indio_dev, bool enable); #ifdef CONFIG_IIO_RING_BUFFER |