summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorIkjoon Jang <ikjn@chromium.org>2021-05-26 19:16:04 +0800
committerSebastian Reichel <sebastian.reichel@collabora.com>2021-06-03 19:49:58 +0200
commitb49a81d0fd021a1f0c8660fa40ad9984d9d1f5b7 (patch)
tree866af9c4edd71fa1ebb5c09c3690b710cdf340cc /tools/perf/scripts/python/export-to-postgresql.py
parent20a3c8b57b2bc2b372bba55ce9d9a90d0030892e (diff)
power: supply: sbs-battery: cache constant string properties
Currently sbs-battery supports three string properties - manufacturer, model_name, and chemistry. Buffers for those properties are currently defined as global variables. This patch moves those global variables into struct sbs_info and cache/reuse them as they are all constant values. Signed-off-by: Ikjoon Jang <ikjn@chromium.org> Tested-by: Hsin-Yi Wang <hsinyi@chromium.org> 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