diff options
author | Mathew King <[email protected]> | 2020-05-04 14:29:27 -0600 |
---|---|---|
committer | Sebastian Reichel <[email protected]> | 2020-05-07 00:53:38 +0200 |
commit | 2cabeaf151294eceaa0f0e0fab2fe9fe66868869 (patch) | |
tree | e768ae3538d6d01fad2ad395b7c01f1bf476fe00 /tools/perf/scripts/python/check-perf-trace.py | |
parent | 72d9cd9cdc18b53c1df935dc9d40ea7bf057387f (diff) |
power: supply: core: Cleanup power supply sysfs attribute list
Make the device attribute list used to create sysfs attributes more
robust by decoupling the list order from order of the enum defined in
power_supply.h. This is done by using a designated initializer in the
POWER_SUPPLY_ATTR macro.
Signed-off-by: Mathew King <[email protected]>
Signed-off-by: Sebastian Reichel <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions