mtd: nand: sunxi: make cur_off parameter optional in extra oob helpers
authorBoris Brezillon <boris.brezillon@free-electrons.com>
Fri, 4 Mar 2016 17:13:10 +0000 (18:13 +0100)
committerBoris Brezillon <boris.brezillon@free-electrons.com>
Tue, 19 Apr 2016 20:05:47 +0000 (22:05 +0200)
commitc4f3ef2c6c219c3e58e0f5a9589a67685a75d787
treeb45a6778b7bc5f9389b53893a8f5c56357a2c65b
parent828dec153044805506cc2b8e39cb3f62d5f76a12
mtd: nand: sunxi: make cur_off parameter optional in extra oob helpers

Allow for NULL cur_offs values when the caller does not know where the
NAND page register pointer points to.

Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
drivers/mtd/nand/sunxi_nand.c