commit | c3baf278d3bf8d628df0b28aa4921c5457d40211 | [log] [tgz] |
---|---|---|
author | Boris Brezillon <boris.brezillon@free-electrons.com> | Mon Aug 15 18:22:01 2016 -0500 |
committer | Boris Brezillon <boris.brezillon@free-electrons.com> | Fri Sep 23 09:35:16 2016 +0200 |
tree | 114a342f131c90b268b03da8edd9dd3e70dffc2a | |
parent | 57d419a42c501713fd023bc21f8798c14ad4e005 [diff] |
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>