diff options
author | Thomas Weißschuh <[email protected]> | 2024-03-03 16:31:14 +0100 |
---|---|---|
committer | Sebastian Reichel <[email protected]> | 2024-03-06 00:37:36 +0100 |
commit | 521d75b4174e9cbfad73e7d0ac34fd6461b542d7 (patch) | |
tree | 06cf77bb07b7615d3281ddf2eb50889d1d1a623f /tools/perf/util/trace-event-scripting.c | |
parent | cd38a0acca734a1117663d6f0da579d3965b6c93 (diff) |
power: supply: core: ease special formatting implementations
By moving the conditional into the default-branch of the switch new
additions to the switch won't have to bypass the conditional.
This makes it easier to implement those special cases like the upcoming
change to the formatting of "charge_behaviour".
Suggested-by: Hans de Goede <[email protected]>
Link: https://lore.kernel.org/lkml/[email protected]/
Signed-off-by: Thomas Weißschuh <[email protected]>
Link: https://lore.kernel.org/r/20240303-power_supply-charge_behaviour_prop-v2-2-8ebb0a7c2409@weissschuh.net
Signed-off-by: Sebastian Reichel <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions