diff options
| author | Michał Mirosław <mirq-linux@rere.qmqm.pl> | 2020-05-01 16:30:43 +0200 |
|---|---|---|
| committer | Sebastian Reichel <sebastian.reichel@collabora.com> | 2020-05-01 16:48:02 +0200 |
| commit | 97ed79f4931964069fc3be7ae5122c3026273f9e (patch) | |
| tree | 270be85cf75f9fdfcb9ec8c592684af929a261e5 /tools/perf/scripts/python | |
| parent | power: supply: core: hide unused HWMON labels (diff) | |
| download | linux-97ed79f4931964069fc3be7ae5122c3026273f9e.tar.gz linux-97ed79f4931964069fc3be7ae5122c3026273f9e.zip | |
power: charger-manager: clarify num_properties starting value
Initialize num_properties with length of the copied array instead
of relying on previously memcpy'd value. This makes it clear how
the array and the counter are related.
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')
0 files changed, 0 insertions, 0 deletions
