aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/tasks.py
diff options
context:
space:
mode:
authorIkjoon Jang <[email protected]>2021-05-26 19:16:04 +0800
committerSebastian Reichel <[email protected]>2021-06-03 19:49:58 +0200
commitb49a81d0fd021a1f0c8660fa40ad9984d9d1f5b7 (patch)
tree866af9c4edd71fa1ebb5c09c3690b710cdf340cc /scripts/gdb/linux/tasks.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 <[email protected]> Tested-by: Hsin-Yi Wang <[email protected]> Signed-off-by: Sebastian Reichel <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions