aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/parallel-perf.py
diff options
context:
space:
mode:
authorChristophe JAILLET <[email protected]>2024-06-22 09:04:25 +0200
committerSebastian Reichel <[email protected]>2024-06-26 15:00:53 +0200
commitdc6ce568afd3452ac682261ea0db570d28f7d82d (patch)
tree0d331f7fe42c482b6f6e2c3ea11ce7de62870b1e /tools/perf/scripts/python/parallel-perf.py
parent3288757087cbb93b91019ba6b7de53a1908c9d48 (diff)
power: supply: ab8500: Use iio_read_channel_processed_scale()
Instead of rescaling current or voltage channels after the fact, use the dedicated scaling API. This should reduce any inaccuracies resulting from the scaling. This is also slightly more efficient as it saves a function call and a multiplication. Signed-off-by: Christophe JAILLET <[email protected]> Reviewed-by: Jonathan Cameron <[email protected]> Reviewed-by: Linus Walleij <[email protected]> Link: https://lore.kernel.org/r/5668d73b92eb6318c7f094a9a8fa914c909485ca.1719037737.git.christophe.jaillet@wanadoo.fr Signed-off-by: Sebastian Reichel <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/parallel-perf.py')
0 files changed, 0 insertions, 0 deletions