summaryrefslogtreecommitdiffstats
path: root/drivers/iio/adc/cc10001_adc.c
diff options
context:
space:
mode:
authorDmitry Baryshkov <dmitry.baryshkov@linaro.org>2020-12-04 05:55:04 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2021-01-16 18:34:29 +0000
commit48d2e2ff85ddf7d4e88af2ee12e72818f5315a23 (patch)
tree9738931a5e4fe37d3eb1326b83d8c8a2496afd27 /drivers/iio/adc/cc10001_adc.c
parent3bd0ceb566f700adc5d164f431d1da039374aa97 (diff)
downloadlinux-stable-48d2e2ff85ddf7d4e88af2ee12e72818f5315a23.tar.gz
linux-stable-48d2e2ff85ddf7d4e88af2ee12e72818f5315a23.tar.bz2
linux-stable-48d2e2ff85ddf7d4e88af2ee12e72818f5315a23.zip
iio: adc: qcom-vadc-common: simplify qcom_vadc_map_voltage_temp
All volt-temp tables here are sorted in descending order. There is no need to accout for (unused) ascending table sorting case, so simplify the conversion function. Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Link: https://lore.kernel.org/r/20201204025509.1075506-11-dmitry.baryshkov@linaro.org Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/adc/cc10001_adc.c')
0 files changed, 0 insertions, 0 deletions