mirror of
https://github.com/torvalds/linux.git
synced 2026-05-31 10:33:41 +02:00
iio: adc: ad7173: rename ad7173_chan_spec_ext_info
Rename ad7173_calibsys_ext_info[] to ad7173_chan_spec_ext_info[]. This array is not limited to calibration attributes, so the name should be more generic. Reviewed-by: Nuno Sá <nuno.sa@analog.com> Signed-off-by: David Lechner <dlechner@baylibre.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
This commit is contained in:
parent
421d4487ef
commit
63cc48ea77
|
|
@ -369,7 +369,7 @@ static const struct iio_enum ad7173_syscalib_mode_enum = {
|
|||
.get = ad7173_get_syscalib_mode
|
||||
};
|
||||
|
||||
static const struct iio_chan_spec_ext_info ad7173_calibsys_ext_info[] = {
|
||||
static const struct iio_chan_spec_ext_info ad7173_chan_spec_ext_info[] = {
|
||||
{
|
||||
.name = "sys_calibration",
|
||||
.write = ad7173_write_syscalib,
|
||||
|
|
@ -1399,7 +1399,7 @@ static const struct iio_chan_spec ad7173_channel_template = {
|
|||
.storagebits = 32,
|
||||
.endianness = IIO_BE,
|
||||
},
|
||||
.ext_info = ad7173_calibsys_ext_info,
|
||||
.ext_info = ad7173_chan_spec_ext_info,
|
||||
};
|
||||
|
||||
static const struct iio_chan_spec ad7173_temp_iio_channel_template = {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user