Skip to content
Commit c3baf278 authored by Boris Brezillon's avatar Boris Brezillon
Browse files

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: default avatarBoris Brezillon <boris.brezillon@free-electrons.com>
Tested-by: default avatarKyle Roeschley <kyle.roeschley@ni.com>
parent 57d419a4
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment