aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMarek Vasut <[email protected]>2024-07-15 20:28:57 +0200
committerJonathan Cameron <[email protected]>2024-08-03 10:13:38 +0100
commit968a3bed1c96baa4e701de308fc1f78a9515ba0c (patch)
tree1ed6ed23bafc8a27e006d5b1af71a3b8505d4b79 /tools/perf/scripts/python
parentdde56b6db4d40e6d5017fbb94a5a2d973208800f (diff)
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 <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions