]> git.sur5r.net Git - u-boot/commitdiff
cfi_flash: Fix placement of brace
authorMario Six <mario.six@gdsys.cc>
Fri, 26 Jan 2018 13:43:46 +0000 (14:43 +0100)
committerStefan Roese <sr@denx.de>
Mon, 29 Jan 2018 06:48:58 +0000 (07:48 +0100)
The opening brace of block statements should be attached to the
statement itself, and not be on a separate line.

Signed-off-by: Mario Six <mario.six@gdsys.cc>
Signed-off-by: Stefan Roese <sr@denx.de>
drivers/mtd/cfi_flash.c

index 5b3c071b30e2236b1ccb7643df67ecec0d29495b..7aa379b0d856fbe384e0843dce67c33189342df2 100644 (file)
@@ -1925,8 +1925,7 @@ static int __flash_detect_cfi(flash_info_t *info, struct cfi_qry *qry)
                                info->interface == FLASH_CFI_X8X16) ||
                            /* x16/x32 in x16 mode */
                            (info->chipwidth == FLASH_CFI_BY16 &&
-                               info->interface == FLASH_CFI_X16X32))
-                       {
+                               info->interface == FLASH_CFI_X16X32)) {
                                info->addr_unlock1 = 0xaaa;
                                info->addr_unlock2 = 0x555;
                        }