Skip to content

Commit

Permalink
staging:iio:accel:adis16240 move to chan_spec based setup.
Browse files Browse the repository at this point in the history
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 use updated.

Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Jonathan Cameron authored and Greg Kroah-Hartman committed May 19, 2011
1 parent eb7fea5 commit cd69f57
Show file tree
Hide file tree
Showing 4 changed files with 220 additions and 199 deletions.
2 changes: 1 addition & 1 deletion drivers/staging/iio/accel/adis16240.h
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ struct adis16240_state {
struct mutex buf_lock;
};

int adis16240_set_irq(struct device *dev, bool enable);
int adis16240_set_irq(struct iio_dev *indio_dev, bool enable);

#ifdef CONFIG_IIO_RING_BUFFER
/* At the moment triggers are only used for ring buffer
Expand Down
Loading

0 comments on commit cd69f57

Please sign in to comment.