summaryrefslogtreecommitdiff
path: root/drivers/base
diff options
context:
space:
mode:
authorMax Krummenacher <max.krummenacher@toradex.com>2017-08-23 17:24:46 +0200
committerStefan Agner <stefan.agner@toradex.com>2017-10-02 15:16:59 +0200
commitc8f0033be80ccb23230b6b572c328d1c02e4ad04 (patch)
tree918337d3ab3fe527ea9ac819c2d6d6cfd18a4796 /drivers/base
parent7b02a99744e495f630bdb5081c516d40e8112685 (diff)
mtd: gpmi: fsl,legacy-bch-geometry independent of nand-on-flash-bbt
The device tree property fsl,legacy-bch-geometry was only evaluated when nand-on-flash-bbt was also defined. This looks wrong. In mainline (as of 4.12) fsl,legacy-bch-geometry doesn't exist, its functionality seems to be taken over by the fsl,use-minimum-ecc property and it is used independent of nand-on-flash-bbt. The move of code gets also rid of the following compiler warning: drivers/mtd/nand/gpmi-nand/gpmi-nand.c:2274:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (of_property_read_bool(this->dev->of_node, ^~ drivers/mtd/nand/gpmi-nand/gpmi-nand.c:2278:3: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if' if (of_property_read_bool(this->dev->of_node, ^~ Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Acked-by: Stefan Agner <stefan.agner@toradex.com>
Diffstat (limited to 'drivers/base')
0 files changed, 0 insertions, 0 deletions