summaryrefslogtreecommitdiff
path: root/drivers/pci/controller/dwc/pcie-designware.c
diff options
context:
space:
mode:
authorManivannan Sadhasivam <manivannan.sadhasivam@linaro.org>2024-04-17 12:32:53 +0530
committerBjorn Helgaas <bhelgaas@google.com>2024-05-28 09:51:17 -0500
commit652935ba05860eadaa19ac9efe7aea61fb7a3aef (patch)
treeb207e1ef758618f1ef717f7ab4e5a3ce1069ca46 /drivers/pci/controller/dwc/pcie-designware.c
parent1613e604df0cd359cf2a7fbd9be7a0bcfacfabd0 (diff)
PCI: qcom: Use devm_clk_bulk_get_all() API
There is no need for the device drivers to validate the clocks defined in Devicetree. The validation should be performed by the DT schema and the drivers should just get all the clocks from DT. Right now the driver hardcodes the clock info and validates them against DT which is redundant. So use devm_clk_bulk_get_all() that just gets all the clocks defined in DT and get rid of all static clocks info from the driver. This simplifies the driver. Link: https://lore.kernel.org/linux-pci/20240417-pci-qcom-clk-bulk-v1-1-52ca19b3d6b2@linaro.org Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> Signed-off-by: Krzysztof WilczyƄski <kwilczynski@kernel.org> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'drivers/pci/controller/dwc/pcie-designware.c')
0 files changed, 0 insertions, 0 deletions