Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

David Lechner and committed by
Jonathan Cameron
63cc48ea 421d4487

+2 -2
+2 -2
drivers/iio/adc/ad7173.c
··· 369 369 .get = ad7173_get_syscalib_mode 370 370 }; 371 371 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[] = { 373 373 { 374 374 .name = "sys_calibration", 375 375 .write = ad7173_write_syscalib, ··· 1399 1399 .storagebits = 32, 1400 1400 .endianness = IIO_BE, 1401 1401 }, 1402 - .ext_info = ad7173_calibsys_ext_info, 1402 + .ext_info = ad7173_chan_spec_ext_info, 1403 1403 }; 1404 1404 1405 1405 static const struct iio_chan_spec ad7173_temp_iio_channel_template = {