diff options
| author | Sebastian Reichel <[email protected]> | 2024-03-01 23:58:27 +0100 |
|---|---|---|
| committer | Sebastian Reichel <[email protected]> | 2024-03-06 00:21:34 +0100 |
| commit | ea1ec769d1f01a9900127e83e63dfdd77d096c8a (patch) | |
| tree | 74f6b911a89263e44e30acfdfcb6019c1a3b980d /tools/perf/scripts/python/stackcollapse.py | |
| parent | 68ade0976df7979eac5f1d46320ff798f5043af6 (diff) | |
power: supply: core: simplify power_supply_class_init
Technically the sysfs attributes should be initialized
before the class is registered, since that will use them.
As a nice side effect this nicely simplifies the code,
since it allows dropping the helper variable.
Reviewed-by: Ricardo B. Marliere <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Sebastian Reichel <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions