From: Qiang Yu Date: Thu, 22 Jan 2026 07:45:18 +0000 (-0800) Subject: PCI: dwc: Fix grammar and formatting for comment in dw_pcie_remove_ext_capability() X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8a214f64554ce4da91f35e7d3b8eaa9674f5154d;p=thirdparty%2Fkernel%2Flinux.git PCI: dwc: Fix grammar and formatting for comment in dw_pcie_remove_ext_capability() Fix a grammatical error in the comment by changing "it's" to "its". Also add a blank line after the variable declaration for better code formatting. Signed-off-by: Qiang Yu Signed-off-by: Manivannan Sadhasivam Reviewed-by: Shawn Lin Link: https://patch.msgid.link/20260121-remove_cap_clean_up-v1-1-e78115e5d467@oss.qualcomm.com --- diff --git a/drivers/pci/controller/dwc/pcie-designware.c b/drivers/pci/controller/dwc/pcie-designware.c index 2fa9f6ee149e..18331d9e85be 100644 --- a/drivers/pci/controller/dwc/pcie-designware.c +++ b/drivers/pci/controller/dwc/pcie-designware.c @@ -268,9 +268,10 @@ void dw_pcie_remove_ext_capability(struct dw_pcie *pci, u8 cap) return; header = dw_pcie_readl_dbi(pci, cap_pos); + /* * If the first cap at offset PCI_CFG_SPACE_SIZE is removed, - * only set it's capid to zero as it cannot be skipped. + * only set its capid to zero as it cannot be skipped. */ if (cap_pos == PCI_CFG_SPACE_SIZE) { dw_pcie_dbi_ro_wr_en(pci);