diff options
| author | Marek Vasut <[email protected]> | 2024-07-15 20:28:57 +0200 |
|---|---|---|
| committer | Jonathan Cameron <[email protected]> | 2024-08-03 10:13:38 +0100 |
| commit | 968a3bed1c96baa4e701de308fc1f78a9515ba0c (patch) | |
| tree | 1ed6ed23bafc8a27e006d5b1af71a3b8505d4b79 /tools/perf/scripts/python | |
| parent | dde56b6db4d40e6d5017fbb94a5a2d973208800f (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