]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
PCI: dwc: Fix grammar and formatting for comment in dw_pcie_remove_ext_capability()
authorQiang Yu <qiang.yu@oss.qualcomm.com>
Thu, 22 Jan 2026 07:45:18 +0000 (23:45 -0800)
committerManivannan Sadhasivam <mani@kernel.org>
Fri, 23 Jan 2026 07:32:15 +0000 (13:02 +0530)
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 <qiang.yu@oss.qualcomm.com>
Signed-off-by: Manivannan Sadhasivam <mani@kernel.org>
Reviewed-by: Shawn Lin <shawn.lin@rock-chips.com>
Link: https://patch.msgid.link/20260121-remove_cap_clean_up-v1-1-e78115e5d467@oss.qualcomm.com
drivers/pci/controller/dwc/pcie-designware.c

index 2fa9f6ee149ed76ee84e8129a47f4bde2fa4d513..18331d9e85be30462277532afa71b5850438f32e 100644 (file)
@@ -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);