diff options
author | Jonathan Cameron | 2011-10-05 16:27:59 +0200 |
---|---|---|
committer | Greg Kroah-Hartman | 2011-10-05 22:47:46 +0200 |
commit | 41ea040c7b6daf05d4884097b0168e7b74c6c0d0 (patch) | |
tree | 3495b1e8d8b5010f0d74c6032b9ae3a6ae331220 /drivers/staging/iio/gyro/adis16130_core.c | |
parent | staging:iio:resolver:ad2s90 chan spec conversion (diff) | |
download | kernel-qcow2-linux-41ea040c7b6daf05d4884097b0168e7b74c6c0d0.tar.gz kernel-qcow2-linux-41ea040c7b6daf05d4884097b0168e7b74c6c0d0.tar.xz kernel-qcow2-linux-41ea040c7b6daf05d4884097b0168e7b74c6c0d0.zip |
staging:iio: rename gyro channels to anglvel
Ensure naming reflects what is measured, not how it is done.
Resolvers can measure the same thing for starters.
IIO_GYRO->IIO_ANGL_VEL to ensure consistent naming.
Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Acked-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/iio/gyro/adis16130_core.c')
-rw-r--r-- | drivers/staging/iio/gyro/adis16130_core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/iio/gyro/adis16130_core.c b/drivers/staging/iio/gyro/adis16130_core.c index a9f270e5eb96..87670c01f88d 100644 --- a/drivers/staging/iio/gyro/adis16130_core.c +++ b/drivers/staging/iio/gyro/adis16130_core.c @@ -97,7 +97,7 @@ static int adis16130_read_raw(struct iio_dev *indio_dev, static const struct iio_chan_spec adis16130_channels[] = { { - .type = IIO_GYRO, + .type = IIO_ANGL_VEL, .modified = 1, .channel2 = IIO_MOD_Z, .address = ADIS16130_RATEDATA, |