diff options
author | Frank Li <Frank.Li@nxp.com> | 2024-02-20 11:19:16 -0500 |
---|---|---|
committer | Lorenzo Pieralisi <lpieralisi@kernel.org> | 2024-03-04 09:54:43 +0100 |
commit | 21ad80b0e0ce5f2b6d17e11bc823e8e0a1527555 (patch) | |
tree | 6cfb4926e1584fd30f7721be889a0932d3f55cdf /drivers/pci/controller/dwc/pci-meson.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/20240220161924.3871774-7-Frank.Li@nxp.com
Signed-off-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Lorenzo Pieralisi <lpieralisi@kernel.org>
Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Diffstat (limited to 'drivers/pci/controller/dwc/pci-meson.c')
0 files changed, 0 insertions, 0 deletions