summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2024-07-15 20:28:57 +0200
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2024-08-03 10:13:38 +0100
commit968a3bed1c96baa4e701de308fc1f78a9515ba0c (patch)
tree1ed6ed23bafc8a27e006d5b1af71a3b8505d4b79 /tools/perf/scripts/python
parentdde56b6db4d40e6d5017fbb94a5a2d973208800f (diff)
downloadlinux-968a3bed1c96baa4e701de308fc1f78a9515ba0c.tar.gz
linux-968a3bed1c96baa4e701de308fc1f78a9515ba0c.zip
iio: light: noa1305: Use static table lookup of scale values
Move scale values into a static table, perform look up of those scale values in noa1305_scale() simply by using the integration time register content as an index, because the integration time register content directly maps to the table values. Signed-off-by: Marek Vasut <marex@denx.de> Link: https://patch.msgid.link/20240715183120.143417-3-marex@denx.de Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions