Skip to content

Commit

Permalink
PCI: dw-rockchip: Fix weird indentation
Browse files Browse the repository at this point in the history
Fix the indentation of rockchip_pcie_{readl,writel}_apb() parameters to
match the opening parenthesis.

Link: https://lore.kernel.org/linux-pci/20240607-rockchip-pcie-ep-v1-v5-7-0a042d6b0049@kernel.org
Signed-off-by: Niklas Cassel <cassel@kernel.org>
Signed-off-by: Krzysztof Wilczyński <kwilczynski@kernel.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
  • Loading branch information
floatious authored and bjorn-helgaas committed Jul 9, 2024
1 parent 28b8d77 commit 2baa5fc
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions drivers/pci/controller/dwc/pcie-dw-rockchip.c
Original file line number Diff line number Diff line change
Expand Up @@ -60,14 +60,13 @@ struct rockchip_pcie {
struct irq_domain *irq_domain;
};

static int rockchip_pcie_readl_apb(struct rockchip_pcie *rockchip,
u32 reg)
static int rockchip_pcie_readl_apb(struct rockchip_pcie *rockchip, u32 reg)
{
return readl_relaxed(rockchip->apb_base + reg);
}

static void rockchip_pcie_writel_apb(struct rockchip_pcie *rockchip,
u32 val, u32 reg)
static void rockchip_pcie_writel_apb(struct rockchip_pcie *rockchip, u32 val,
u32 reg)
{
writel_relaxed(val, rockchip->apb_base + reg);
}
Expand Down

0 comments on commit 2baa5fc

Please sign in to comment.