flash: stm32l4x: fix open brace style

Checkpatch triggers the error

	ERROR:OPEN_BRACE: open brace '{' following function
	definitions go on the next line

Fix it!

Change-Id: I0ce4585a6507eca094b82cdabdecf6fdbe7923b1
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-on: https://review.openocd.org/c/openocd/+/8491
Tested-by: jenkins
Reviewed-by: zapb <dev@zapb.de>
This commit is contained in:
Antonio Borneo 2024-09-16 10:42:47 +02:00
parent 436e6f1770
commit 39f024900e
1 changed files with 2 additions and 1 deletions

View File

@ -717,7 +717,8 @@ struct range {
}; };
static void bitmap_to_ranges(unsigned long *bitmap, unsigned int nbits, static void bitmap_to_ranges(unsigned long *bitmap, unsigned int nbits,
struct range *ranges, unsigned int *ranges_count) { struct range *ranges, unsigned int *ranges_count)
{
*ranges_count = 0; *ranges_count = 0;
bool last_bit = 0, cur_bit; bool last_bit = 0, cur_bit;
for (unsigned int i = 0; i < nbits; i++) { for (unsigned int i = 0; i < nbits; i++) {