Skip to content

Commit 63cc48e

Browse files
dlechjic23
authored andcommitted
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>
1 parent 421d448 commit 63cc48e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

drivers/iio/adc/ad7173.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,7 @@ static const struct iio_enum ad7173_syscalib_mode_enum = {
369369
.get = ad7173_get_syscalib_mode
370370
};
371371

372-
static const struct iio_chan_spec_ext_info ad7173_calibsys_ext_info[] = {
372+
static const struct iio_chan_spec_ext_info ad7173_chan_spec_ext_info[] = {
373373
{
374374
.name = "sys_calibration",
375375
.write = ad7173_write_syscalib,
@@ -1399,7 +1399,7 @@ static const struct iio_chan_spec ad7173_channel_template = {
13991399
.storagebits = 32,
14001400
.endianness = IIO_BE,
14011401
},
1402-
.ext_info = ad7173_calibsys_ext_info,
1402+
.ext_info = ad7173_chan_spec_ext_info,
14031403
};
14041404

14051405
static const struct iio_chan_spec ad7173_temp_iio_channel_template = {

0 commit comments

Comments
 (0)