]> git.baikalelectronics.ru Git - uboot.git/commit
mtd: cfi_flash: fix indentation
authorAndre Przywara <andre.przywara@arm.com>
Wed, 16 Nov 2016 00:50:06 +0000 (00:50 +0000)
committerTom Rini <trini@konsulko.com>
Sun, 4 Dec 2016 18:55:01 +0000 (13:55 -0500)
commit9122db797e2b016cd0d7b73f4c711014c2e5cd30
treed684cfa511cad7ce0c67f333a97f18b0f8c68264
parent04f8c58dac65e4967aaccd0d7a79bbc399692229
mtd: cfi_flash: fix indentation

The indentation is misleading here and suggests that the write command
will be only executed in the else clause.
It seems like this is not intended, so fix the indentation to avoid
both compiler warnings and puzzled readers.

Pointed out by GCC 6.2's -Wmisleading-indentation warning.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Reviewed-by: Stefan Roese <sr@denx.de>
drivers/mtd/cfi_flash.c