Skip to content

Commit

Permalink
staging:iio:gyro:adis16260 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.
V3: rebase fixup and make attribute_group static.

V2: IIO_CHAN macro updates.

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 cd69f57 commit 29b7f43
Show file tree
Hide file tree
Showing 4 changed files with 239 additions and 266 deletions.
2 changes: 1 addition & 1 deletion drivers/staging/iio/gyro/adis16260.h
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ struct adis16260_state {
unsigned negate:1;
};

int adis16260_set_irq(struct device *dev, bool enable);
int adis16260_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 29b7f43

Please sign in to comment.