aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/task-analyzer.py
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 13:21:20 +0100
commit1003d539930177b552e48881c1805fd2bc20066a (patch)
treee35ccc9c25a1f68ec676a4cc4d1cf0cf3895a88e /tools/perf/scripts/python/task-analyzer.py
parentiio: adc: ad7476: Simplify scale handling (diff)
downloadlinux-1003d539930177b552e48881c1805fd2bc20066a.tar.gz
linux-1003d539930177b552e48881c1805fd2bc20066a.zip
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 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions