summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2014-09-25 16:27:00 +0200
committerJonathan Cameron <jic23@kernel.org>2014-09-27 11:36:35 +0200
commit6822ee34ad57b29a3b44df2c2829910f03c34fa4 (patch)
tree07d7077501207729043ec868a0bb7cbc2fc8cee3 /drivers
parentstaging:iio:ad5933: Fix NULL pointer deref when enabling buffer (diff)
downloadlinux-6822ee34ad57b29a3b44df2c2829910f03c34fa4.tar.xz
linux-6822ee34ad57b29a3b44df2c2829910f03c34fa4.zip
staging:iio:ad5933: Drop "raw" from channel names
"raw" is the name of a channel property, but should not be part of the channel name itself. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Cc: <Stable@vger.kernel.org> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/staging/iio/impedance-analyzer/ad5933.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/iio/impedance-analyzer/ad5933.c b/drivers/staging/iio/impedance-analyzer/ad5933.c
index 3854f997f45e..97d4b3fb7e95 100644
--- a/drivers/staging/iio/impedance-analyzer/ad5933.c
+++ b/drivers/staging/iio/impedance-analyzer/ad5933.c
@@ -125,7 +125,7 @@ static const struct iio_chan_spec ad5933_channels[] = {
.type = IIO_VOLTAGE,
.indexed = 1,
.channel = 0,
- .extend_name = "real_raw",
+ .extend_name = "real",
.address = AD5933_REG_REAL_DATA,
.scan_index = 0,
.scan_type = {
@@ -137,7 +137,7 @@ static const struct iio_chan_spec ad5933_channels[] = {
.type = IIO_VOLTAGE,
.indexed = 1,
.channel = 0,
- .extend_name = "imag_raw",
+ .extend_name = "imag",
.address = AD5933_REG_IMAG_DATA,
.scan_index = 1,
.scan_type = {