Skip to content

Commit

Permalink
staging:iio:accel:adis16209 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 used.
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 ad3eb9a commit a34c26d
Show file tree
Hide file tree
Showing 4 changed files with 232 additions and 277 deletions.
2 changes: 1 addition & 1 deletion drivers/staging/iio/accel/adis16209.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
Loading

0 comments on commit a34c26d

Please sign in to comment.