UPSTREAM: 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> (cherry picked from commit d960d91f86880d28a6dc8edb4e7b605bcf6354eb) Signed-off-by:
Greg Kroah-Hartman <gregkh@google.com> Change-Id: Ia01c0cab23add107b648193af7105ed2e6ae771c
Loading
Please register or sign in to comment