PCI: mediatek-gen3: Fix inconsistent indentation
authorCharles Han <hanchunchao@inspur.com>
Wed, 5 Mar 2025 07:00:22 +0000 (15:00 +0800)
committerKrzysztof Wilczyński <kwilczynski@kernel.org>
Wed, 5 Mar 2025 20:30:51 +0000 (20:30 +0000)
commit98e87cc501c1018f11815e3e2fb20e4801243031
tree085ef3d8885861beb2c2500943feeedbaac48007
parent249b78298078448a699c39356d27d8183af4b281
PCI: mediatek-gen3: Fix inconsistent indentation

Fix the following inconsistent indentation warning:

  drivers/pci/controller/pcie-mediatek-gen3.c:922 mtk_pcie_parse_port() warn: inconsistent indenting

Found using Smatch.  No functional changes intended.

Signed-off-by: Charles Han <hanchunchao@inspur.com>
Link: https://lore.kernel.org/r/20250305070022.4668-1-hanchunchao@inspur.com
[kwilczynski: commit log, refactor if-statement around num_lanes to
make it more readable, wrap overly long lines to fit 80 colums]
Signed-off-by: Krzysztof Wilczyński <kwilczynski@kernel.org>
drivers/pci/controller/pcie-mediatek-gen3.c