mtd: nand_bbt: Move BBT block selection logic out of write_bbt()
authorBoris Brezillon <boris.brezillon@free-electrons.com>
Mon, 15 Aug 2016 23:22:01 +0000 (18:22 -0500)
committerBoris Brezillon <boris.brezillon@free-electrons.com>
Wed, 17 Aug 2016 11:56:01 +0000 (13:56 +0200)
commitaf167ad01e83431531e361bb11c196d8bcf76350
treecf5a0b451daee49d332b79c614112c9710441688
parentb1e6503391a8df9596777fc04d24a8168a297dd5
mtd: nand_bbt: Move BBT block selection logic out of write_bbt()

This clarifies the write_bbt() function by removing the write label
and simplifying the error/exit path.

Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Tested-by: Kyle Roeschley <kyle.roeschley@ni.com>
drivers/mtd/nand/nand_bbt.c
This page took 0.027058 seconds and 5 git commands to generate.