diff mbox series

PCI: altera: clean up indentation issue on a return statement

Message ID 20200327134556.265411-1-colin.king@canonical.com (mailing list archive)
State Mainlined, archived
Commit 754262d1befb16a9581b7ccfa9d1e17d41c54969
Delegated to: Lorenzo Pieralisi
Headers show
Series PCI: altera: clean up indentation issue on a return statement | expand

Commit Message

Colin King March 27, 2020, 1:45 p.m. UTC
From: Colin Ian King <colin.king@canonical.com>

A return statment is indented incorrectly, remove extraneous space.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
---
 drivers/pci/controller/pcie-altera.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Lorenzo Pieralisi May 5, 2020, 11:42 a.m. UTC | #1
On Fri, Mar 27, 2020 at 01:45:56PM +0000, Colin King wrote:
> From: Colin Ian King <colin.king@canonical.com>
> 
> A return statment is indented incorrectly, remove extraneous space.
> 
> Signed-off-by: Colin Ian King <colin.king@canonical.com>
> ---
>  drivers/pci/controller/pcie-altera.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Applied to pci/altera, thanks.

Lorenzo

> diff --git a/drivers/pci/controller/pcie-altera.c b/drivers/pci/controller/pcie-altera.c
> index b447c3e4abad..24cb1c331058 100644
> --- a/drivers/pci/controller/pcie-altera.c
> +++ b/drivers/pci/controller/pcie-altera.c
> @@ -193,7 +193,7 @@ static bool altera_pcie_valid_device(struct altera_pcie *pcie,
>  	if (bus->number == pcie->root_bus_nr && dev > 0)
>  		return false;
>  
> -	 return true;
> +	return true;
>  }
>  
>  static int tlp_read_packet(struct altera_pcie *pcie, u32 *value)
> -- 
> 2.25.1
>
diff mbox series

Patch

diff --git a/drivers/pci/controller/pcie-altera.c b/drivers/pci/controller/pcie-altera.c
index b447c3e4abad..24cb1c331058 100644
--- a/drivers/pci/controller/pcie-altera.c
+++ b/drivers/pci/controller/pcie-altera.c
@@ -193,7 +193,7 @@  static bool altera_pcie_valid_device(struct altera_pcie *pcie,
 	if (bus->number == pcie->root_bus_nr && dev > 0)
 		return false;
 
-	 return true;
+	return true;
 }
 
 static int tlp_read_packet(struct altera_pcie *pcie, u32 *value)