diff options
author | Ikjoon Jang <ikjn@chromium.org> | 2021-05-26 14:16:04 +0300 |
---|---|---|
committer | Sebastian Reichel <sebastian.reichel@collabora.com> | 2021-06-03 20:49:58 +0300 |
commit | b49a81d0fd021a1f0c8660fa40ad9984d9d1f5b7 (patch) | |
tree | 866af9c4edd71fa1ebb5c09c3690b710cdf340cc /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 20a3c8b57b2bc2b372bba55ce9d9a90d0030892e (diff) | |
download | linux-b49a81d0fd021a1f0c8660fa40ad9984d9d1f5b7.tar.xz |
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/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions