]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
cosmetic: cfi_flash: delete a space after an unary operator
authorMasahiro Yamada <yamada.m@jp.panasonic.com>
Fri, 17 May 2013 05:50:36 +0000 (14:50 +0900)
committerStefan Roese <sr@denx.de>
Thu, 23 May 2013 07:48:45 +0000 (09:48 +0200)
Linux Kernel Documentation/CodingStyle says:
 Do not add a space after unary operators such as &, *, ...

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Signed-off-by: Stefan Roese <sr@denx.de>
drivers/mtd/cfi_flash.c

index f6759a80ea57ad57a8d9c725e0a599326c59d62b..28250c23f8fbb28f58cb86c420eedfbbccbf7bcf 100644 (file)
@@ -187,7 +187,7 @@ flash_info_t *flash_get_info(ulong base)
        flash_info_t *info = NULL;
 
        for (i = 0; i < CONFIG_SYS_MAX_FLASH_BANKS; i++) {
-               info = & flash_info[i];
+               info = &flash_info[i];
                if (info->size && info->start[0] <= base &&
                    base <= info->start[0] + info->size - 1)
                        break;