Re: [v4 2/4] PCI: dwc: Replace dw_pcie_find_capability() and dw_pcie_find_ext_capability()
From: Manivannan Sadhasivam
Date: Fri Mar 21 2025 - 09:05:43 EST
On Fri, Mar 21, 2025 at 06:17:08PM +0800, Hans Zhang wrote:
> Replace duplicate logic code. Use a common interface and provide callback
> functions.
>
I'd reword the subject and description as:
```
PCI: dwc: Use common PCI host bridge APIs for finding the capabilities
Since the PCI core is now exposing generic APIs for the host bridges to
search for the PCIe capabilities, make use of them in the DWC driver.
```
Patch LGTM!
- Mani
--
மணிவண்ணன் சதாசிவம்