[RFC v1 0/2] PCI: tegra: A couple of cleanups

Anand Moon posted 2 patches 1 month ago
There is a newer version of this series
drivers/pci/controller/pci-tegra.c | 109 +++++++----------------------
1 file changed, 27 insertions(+), 82 deletions(-)
[RFC v1 0/2] PCI: tegra: A couple of cleanups
Posted by Anand Moon 1 month ago
Hi All,

This small series provides two cleanup patches for the Tegra PCIe driver. 
The overall goal is to replace custom, open-coded logic with standard
kernel helper functions.

These changes improve the driver's readability and maintainability by 
everaging modern, well-tested APIs for clock management and register
polling.

Thanks
-Anand 

Anand Moon (2):
  PCI: tegra: Simplify clock handling by using clk_bulk*() functions
  PCI: tegra: Use readl_poll_timeout() for link status polling

 drivers/pci/controller/pci-tegra.c | 109 +++++++----------------------
 1 file changed, 27 insertions(+), 82 deletions(-)


base-commit: 5c3b3264e5858813632031ba58bcd6e1eeb3b214
-- 
2.50.1