summaryrefslogtreecommitdiff
path: root/scripts/diffconfig
diff options
context:
space:
mode:
authorMatti Vaittinen <mazziesaccount@gmail.com>2025-08-11 11:50:55 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2025-08-16 15:21:20 +0300
commit1003d539930177b552e48881c1805fd2bc20066a (patch)
treee35ccc9c25a1f68ec676a4cc4d1cf0cf3895a88e /scripts/diffconfig
parent72e42b4849c8f0a29ae679eaa4e191cd7698c463 (diff)
downloadlinux-1003d539930177b552e48881c1805fd2bc20066a.tar.xz
iio: adc: ad7476: Use mV for internal reference
The ad7476 supports some ICs with an internal reference voltage. For those ICs the reference voltage has been hard-coded as micro volts, but the value which is later used in code needs to be milli volts. This results the need to divide hard coded voltage by 1000 before using it. Simplify code by changing the hard-coded voltage to millivolts and by dropping the division. Signed-off-by: Matti Vaittinen <mazziesaccount@gmail.com> Reviewed-by: Nuno Sá <nuno.sa@analog.com> Reviewed-by: Andy Shevchenko <andy@kernel.org> Link: https://patch.msgid.link/1c26529fcc039a3ce8b5a336948229ec727ee281.1754901948.git.mazziesaccount@gmail.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'scripts/diffconfig')
0 files changed, 0 insertions, 0 deletions