diff options
author | 2025-05-04 17:45:25 +0300 | |
---|---|---|
committer | 2025-05-14 11:43:38 +0100 | |
commit | e36a5d1ecc5f2bda92e4f954f41d65d1ddd5728e (patch) | |
tree | c30b519c25d98d080f9269a69137579a81e4cfd2 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | phy: phy-snps-eusb2: make reset control optional (diff) | |
download | wireguard-linux-e36a5d1ecc5f2bda92e4f954f41d65d1ddd5728e.tar.xz wireguard-linux-e36a5d1ecc5f2bda92e4f954f41d65d1ddd5728e.zip |
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 '')
0 files changed, 0 insertions, 0 deletions