aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci/controller/dwc/pci-keystone.c
diff options
context:
space:
mode:
authorZhang Zekun <[email protected]>2024-08-31 04:04:09 +0000
committerKrzysztof Wilczyński <[email protected]>2025-03-06 09:30:15 +0000
commitd5233478548309cab6bb327ddaa3c26038bdd785 (patch)
treee300071eaad2cdf6294d6af25ab73aaa9977f7b9 /drivers/pci/controller/dwc/pci-keystone.c
parentPCI: kirin: Use helper function for_each_available_child_of_node_scoped() (diff)
downloadkernel-d5233478548309cab6bb327ddaa3c26038bdd785.tar.gz
kernel-d5233478548309cab6bb327ddaa3c26038bdd785.zip
PCI: kirin: Tidy up _probe() related function with dev_err_probe()
The combination of dev_err() and the returned error code could be replaced by dev_err_probe() in driver's probe function. Thus, convert the code to use dev_err_probe() to make code simpler. Suggested-by: Jonathan Cameron <[email protected]> Signed-off-by: Zhang Zekun <[email protected]> Reviewed-by: Jonathan Cameron <[email protected]> Link: https://lore.kernel.org/r/[email protected] [kwilczynski: commit log, return -ETIMEDOUT from hi3660_pcie_phy_start() rather than -EINVAL for when the PIPE clock fails to become stable, drop redundant dev->of_node NULL check] Signed-off-by: Krzysztof Wilczyński <[email protected]>
Diffstat (limited to 'drivers/pci/controller/dwc/pci-keystone.c')
0 files changed, 0 insertions, 0 deletions