staging:iio:adc:ad7280a: rename _read() to _read_reg()
authorJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 6 Feb 2022 19:03:11 +0000 (19:03 +0000)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Mon, 21 Feb 2022 19:33:04 +0000 (19:33 +0000)
commitdd7062fe88015beaedf479116c8aae64b103e9b8
tree1e289bf5ec0c5fa069c1f3ccff8ea1365c7d27eb
parent4c59aabd9a93d8f867d9f6aa0407cc6a7db47fa5
staging:iio:adc:ad7280a: rename _read() to _read_reg()

This avoids possible confusion with read back of the channel conversions.
These two types of reads are of difference sizes with resulting differences
in the data layout of the response from the hardware.

Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Reviewed-by: Marcelo Schmitt <marcelo.schmitt1@gmail.com>
Link: https://lore.kernel.org/r/20220206190328.333093-4-jic23@kernel.org
drivers/staging/iio/adc/ad7280a.c