diff options
author | Frank Li <[email protected]> | 2024-02-20 11:19:16 -0500 |
---|---|---|
committer | Lorenzo Pieralisi <[email protected]> | 2024-03-04 09:54:43 +0100 |
commit | 21ad80b0e0ce5f2b6d17e11bc823e8e0a1527555 (patch) | |
tree | 6cfb4926e1584fd30f7721be889a0932d3f55cdf /tools/perf/util/trace-event-scripting.c | |
parent | f99b121c258918906b119d9333277fa6987a7fb1 (diff) |
PCI: imx6: Simplify switch-case logic by introducing init_phy() callback
Instead of using the switch case statement to initialize the PHY handled by
this driver itself, let's introduce a new callback init_phy() and define it
for platforms that require it.
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Frank Li <[email protected]>
Signed-off-by: Lorenzo Pieralisi <[email protected]>
Reviewed-by: Manivannan Sadhasivam <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions