commit | 411643e949f4e616f758e2c6079f333b0e704c49 | [log] [tgz] |
---|---|---|
author | Harley A.W. Lorenzo <hl1998@protonmail.com> | Mon Oct 05 04:44:17 2020 +0000 |
committer | Sebastian Reichel <sre@kernel.org> | Fri Oct 09 01:02:30 2020 +0200 |
tree | 2db883cb68d18a4c805ab21bcb54dc4c94d83bce | |
parent | 10a4357f4aebb30d20fe5f0297930b292862fed9 [diff] |
power: supply: test-power: revise parameter printing to use sprintf Simplify code by using sprintf instead of strcpy+strcat+strlen. Signed-off-by: Harley A.W. Lorenzo <hl1998@protonmail.com> Suggested-by: Joe Perches <joe@perches.com> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>