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: NBoris Brezillon <boris.brezillon@free-electrons.com> Tested-by: NKyle Roeschley <kyle.roeschley@ni.com>
Showing
想要评论请 注册 或 登录