]> git.sur5r.net Git - u-boot/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)
commit58eab3287b0ea8e135617d2fb10e09d178d32c89
treed684cfa511cad7ce0c67f333a97f18b0f8c68264
parentebb2c535852e7591c288aef7530fa24be32e3ec3
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