[PATCH 12/40] drivers: fpga: Remove duplicate newlines

Michal Simek monstr at monstr.eu
Mon Jul 22 12:10:01 CEST 2024



On 7/20/24 14:40, Marek Vasut wrote:
> Drop all duplicate newlines. No functional change.
> 
> Signed-off-by: Marek Vasut <marek.vasut+renesas at mailbox.org>
> ---
>   drivers/fpga/ACEX1K.c   | 1 -
>   drivers/fpga/fpga.c     | 1 -
>   drivers/fpga/ivm_core.c | 1 -
>   drivers/fpga/lattice.c  | 1 -
>   drivers/fpga/spartan2.c | 2 --
>   drivers/fpga/spartan3.c | 2 --
>   6 files changed, 8 deletions(-)
> 
> diff --git a/drivers/fpga/ACEX1K.c b/drivers/fpga/ACEX1K.c
> index cb7877a8afe..3de9011ac06 100644
> --- a/drivers/fpga/ACEX1K.c
> +++ b/drivers/fpga/ACEX1K.c
> @@ -79,7 +79,6 @@ int ACEX1K_info( Altera_desc *desc )
>   	return FPGA_SUCCESS;
>   }
>   
> -
>   /* ------------------------------------------------------------------------- */
>   /* ACEX1K Passive Serial Generic Implementation                                  */
>   
> diff --git a/drivers/fpga/fpga.c b/drivers/fpga/fpga.c
> index 38ba6c21ea2..1f6782537de 100644
> --- a/drivers/fpga/fpga.c
> +++ b/drivers/fpga/fpga.c
> @@ -30,7 +30,6 @@ static void fpga_no_sup(char *fn, char *msg)
>   		printf("No FPGA support!\n");
>   }
>   
> -
>   /* fpga_get_desc
>    *	map a device number to a descriptor
>    */
> diff --git a/drivers/fpga/ivm_core.c b/drivers/fpga/ivm_core.c
> index b9cecdd8720..3c9a01e5110 100644
> --- a/drivers/fpga/ivm_core.c
> +++ b/drivers/fpga/ivm_core.c
> @@ -580,7 +580,6 @@ void ispVMFreeMem(void)
>   	}
>   }
>   
> -
>   /*
>    *
>    * ispVMDataSize
> diff --git a/drivers/fpga/lattice.c b/drivers/fpga/lattice.c
> index 036580cad70..3f481e38565 100644
> --- a/drivers/fpga/lattice.c
> +++ b/drivers/fpga/lattice.c
> @@ -35,7 +35,6 @@ extern unsigned short g_usIntelDataIndex;
>   extern unsigned short g_usIntelBufferSize;
>   extern char *const g_szSupportedVersions[];
>   
> -
>   /*
>    * ispVMDelay
>    *
> diff --git a/drivers/fpga/spartan2.c b/drivers/fpga/spartan2.c
> index 9cd6cb7f0fb..906649ea181 100644
> --- a/drivers/fpga/spartan2.c
> +++ b/drivers/fpga/spartan2.c
> @@ -85,7 +85,6 @@ static int spartan2_info(xilinx_desc *desc)
>   	return FPGA_SUCCESS;
>   }
>   
> -
>   /* ------------------------------------------------------------------------- */
>   /* Spartan-II Slave Parallel Generic Implementation */
>   
> @@ -285,7 +284,6 @@ static int spartan2_sp_dump(xilinx_desc *desc, const void *buf, size_t bsize)
>   	return ret_val;
>   }
>   
> -
>   /* ------------------------------------------------------------------------- */
>   
>   static int spartan2_ss_load(xilinx_desc *desc, const void *buf, size_t bsize)
> diff --git a/drivers/fpga/spartan3.c b/drivers/fpga/spartan3.c
> index b4d87d47d93..98405589134 100644
> --- a/drivers/fpga/spartan3.c
> +++ b/drivers/fpga/spartan3.c
> @@ -91,7 +91,6 @@ static int spartan3_info(xilinx_desc *desc)
>   	return FPGA_SUCCESS;
>   }
>   
> -
>   /* ------------------------------------------------------------------------- */
>   /* Spartan-II Slave Parallel Generic Implementation */
>   
> @@ -293,7 +292,6 @@ static int spartan3_sp_dump(xilinx_desc *desc, const void *buf, size_t bsize)
>   	return ret_val;
>   }
>   
> -
>   /* ------------------------------------------------------------------------- */
>   
>   static int spartan3_ss_load(xilinx_desc *desc, const void *buf, size_t bsize)

Reviewed-by: Michal Simek <michal.simek at amd.com>

Thanks,
Michal

-- 
Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91
w: www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel - Xilinx Microblaze
Maintainer of Linux kernel - Xilinx Zynq ARM and ZynqMP/Versal ARM64 SoCs
U-Boot custodian - Xilinx Microblaze/Zynq/ZynqMP/Versal/Versal NET SoCs
TF-A maintainer - Xilinx ZynqMP/Versal/Versal NET SoCs



More information about the U-Boot mailing list