commit | 97ed79f4931964069fc3be7ae5122c3026273f9e | [log] [tgz] |
---|---|---|
author | Michał Mirosław <mirq-linux@rere.qmqm.pl> | Fri May 01 16:30:43 2020 +0200 |
committer | Sebastian Reichel <sebastian.reichel@collabora.com> | Fri May 01 16:48:02 2020 +0200 |
tree | 270be85cf75f9fdfcb9ec8c592684af929a261e5 | |
parent | b0e4aa97ea4b58881b85697a6f5628d1839d8e59 [diff] |
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>