power: supply: core: Use designated initializer for property text arrays
authorMathew King <mathewk@chromium.org>
Mon, 4 May 2020 20:29:28 +0000 (14:29 -0600)
committerSebastian Reichel <sre@kernel.org>
Wed, 6 May 2020 22:53:49 +0000 (00:53 +0200)
commitd960d91f86880d28a6dc8edb4e7b605bcf6354eb
tree4220df25223cff0f367ff39ba2802920f9cae382
parent2cabeaf151294eceaa0f0e0fab2fe9fe66868869
power: supply: core: Use designated initializer for property text arrays

Use designated initializers for the sysfs power supply text values. This
will help ensure that the text values are kept in sync with the enum
values from power_supply.h.

Signed-off-by: Mathew King <mathewk@chromium.org>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
drivers/power/supply/power_supply_sysfs.c