summaryrefslogtreecommitdiffstats
path: root/drivers/staging/iio/gyro/adis16130_core.c
diff options
context:
space:
mode:
authorJonathan Cameron2011-10-05 16:27:59 +0200
committerGreg Kroah-Hartman2011-10-05 22:47:46 +0200
commit41ea040c7b6daf05d4884097b0168e7b74c6c0d0 (patch)
tree3495b1e8d8b5010f0d74c6032b9ae3a6ae331220 /drivers/staging/iio/gyro/adis16130_core.c
parentstaging:iio:resolver:ad2s90 chan spec conversion (diff)
downloadkernel-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.c2
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,