diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2014-09-25 15:27:00 +0100 |
---|---|---|
committer | Zefan Li <lizefan@huawei.com> | 2015-02-02 17:05:00 +0800 |
commit | 30e55da73d161504f610115a2de141137e69e924 (patch) | |
tree | 12a58189049813e6914d4b3fe2a4b66c3a3d3dde /drivers | |
parent | 1fb46361f9b20239de0ab5337e457f581646f0ea (diff) |
staging:iio:ad5933: Drop "raw" from channel names
commit 6822ee34ad57b29a3b44df2c2829910f03c34fa4 upstream.
"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>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
[lizf: Backported to 3.4: adjust context]
Signed-off-by: Zefan Li <lizefan@huawei.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/staging/iio/impedance-analyzer/ad5933.c | 4 |
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 06b9fe29a817..2db80b1fda82 100644 --- a/drivers/staging/iio/impedance-analyzer/ad5933.c +++ b/drivers/staging/iio/impedance-analyzer/ad5933.c @@ -124,7 +124,7 @@ static struct iio_chan_spec ad5933_channels[] = { .type = IIO_VOLTAGE, .indexed = 1, .channel = 0, - .extend_name = "real_raw", + .extend_name = "real", .info_mask = IIO_CHAN_INFO_SCALE_SEPARATE_BIT, .address = AD5933_REG_REAL_DATA, .scan_index = 0, @@ -137,7 +137,7 @@ static struct iio_chan_spec ad5933_channels[] = { .type = IIO_VOLTAGE, .indexed = 1, .channel = 0, - .extend_name = "imag_raw", + .extend_name = "imag", .info_mask = IIO_CHAN_INFO_SCALE_SEPARATE_BIT, .address = AD5933_REG_IMAG_DATA, .scan_index = 1, |