aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py
diff options
context:
space:
mode:
authorAndre Przywara <[email protected]>2023-01-09 01:22:23 +0000
committerVinod Koul <[email protected]>2023-01-12 23:08:57 +0530
commit8dd256bae653311db57fd117833ac952c2885b60 (patch)
tree8a639bc246239e57097dacedc7c818c76738f49c /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py
parent50bd67abe5bacc8fd160461bb3eb2c164c4698c0 (diff)
phy: sun4i-usb: Replace types with explicit quirk flags
So far we were assigning some crude "type" (SoC name, really) to each Allwinner USB PHY model, then guarding certain quirks based on this. This does not only look weird, but gets more or more cumbersome to maintain. Remove the bogus type names altogether, instead introduce flags for each quirk, and explicitly check for them. This improves readability, and simplifies future extensions. Signed-off-by: Andre Przywara <[email protected]> Reviewed-by: Jernej Skrabec <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py')
0 files changed, 0 insertions, 0 deletions