summaryrefslogtreecommitdiff
path: root/drivers/staging/iio/gyro/adis16080_core.c
diff options
context:
space:
mode:
authorJonathan Cameron <jic23@cam.ac.uk>2011-09-27 09:56:41 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2011-09-29 17:32:07 -0700
commit6835cb6b438b77ba82ad5a23944bbfb12128f5db (patch)
tree39af808830417ce9eb4a8eeba4f92cfdaab5a6dd /drivers/staging/iio/gyro/adis16080_core.c
parent6519ad6e6f92a4310fbaab50f074d5bbad27b329 (diff)
staging:iio: unwind the IIO_IN -> IIO_VOLTAGE define
This was originally there to avoid churn during a complex change. Now everything is stable lets get rid of this as it is missleading and confusing. Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/iio/gyro/adis16080_core.c')
-rw-r--r--drivers/staging/iio/gyro/adis16080_core.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/iio/gyro/adis16080_core.c b/drivers/staging/iio/gyro/adis16080_core.c
index 826f8f1db0df..a2ee9beda801 100644
--- a/drivers/staging/iio/gyro/adis16080_core.c
+++ b/drivers/staging/iio/gyro/adis16080_core.c
@@ -113,12 +113,12 @@ static const struct iio_chan_spec adis16080_channels[] = {
.channel2 = IIO_MOD_Z,
.address = ADIS16080_DIN_GYRO,
}, {
- .type = IIO_IN,
+ .type = IIO_VOLTAGE,
.indexed = 1,
.channel = 0,
.address = ADIS16080_DIN_AIN1,
}, {
- .type = IIO_IN,
+ .type = IIO_VOLTAGE,
.indexed = 1,
.channel = 1,
.address = ADIS16080_DIN_AIN2,