diff options
author | Michał Mirosław <mirq-linux@rere.qmqm.pl> | 2022-01-11 03:32:40 +0100 |
---|---|---|
committer | Sebastian Reichel <sre@kernel.org> | 2022-02-13 22:21:42 +0100 |
commit | cf215c37f581c4afd6a4880eeb9f4ac70d000c32 (patch) | |
tree | 9275ebf064e2ea00e8894ad4c208c3d9b4acf5c3 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 8f5b373960f976cf80e54636a60637cbe9718f66 (diff) |
power: supply: ltc2941: simplify Qlsb calculation
Replace two divisions with a subtraction+shift for a small code size
improvement and less brackets.
Signed-off-by: Michał Mirosław <mirq-linux@rere.qmqm.pl>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions