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 /kernel/notifier.c | |
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>
Diffstat (limited to 'kernel/notifier.c')
0 files changed, 0 insertions, 0 deletions