summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorIvaylo Ivanov <ivo.ivanov.ivanov1@gmail.com>2025-05-04 17:45:25 +0300
committerVinod Koul <vkoul@kernel.org>2025-05-14 11:43:38 +0100
commite36a5d1ecc5f2bda92e4f954f41d65d1ddd5728e (patch)
treec30b519c25d98d080f9269a69137579a81e4cfd2 /tools/perf/scripts/python/export-to-sqlite.py
parentaba7a966b50d11deeb3e2f1a66182d150eeb7843 (diff)
phy: phy-snps-eusb2: refactor reference clock init
Instead of matching frequencies with a switch and case, introduce a table-based lookup. This improves readability, reduces redundancy, and makes it easier to extend support for additional frequencies in the future. Signed-off-by: Ivaylo Ivanov <ivo.ivanov.ivanov1@gmail.com> Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com> Link: https://lore.kernel.org/r/20250504144527.1723980-9-ivo.ivanov.ivanov1@gmail.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions