mtd: nand: Remove support for block locking/unlocking
authorBoris Brezillon <boris.brezillon@free-electrons.com>
Mon, 15 May 2017 22:17:42 +0000 (00:17 +0200)
committerBoris Brezillon <boris.brezillon@free-electrons.com>
Thu, 3 Aug 2017 15:30:40 +0000 (17:30 +0200)
commitd4cb37e71662dac72049bf7c55a9038bd7d2bcb5
tree99a252255f32d9997e961da3431a611bfd7cdaff
parent5771a8c08880cdca3bfb4a3fc6d309d6bba20877
mtd: nand: Remove support for block locking/unlocking

Commit 7d70f334ad2b ("mtd: nand: add lock/unlock routines") introduced
support for the Micron LOCK/UNLOCK commands but no one ever used the
nand_lock/unlock() functions.

Remove support for these vendor-specific operations from the core. If
one ever wants to add them back they should be put in nand_micron.c and
mtd->_lock/_unlock should be directly assigned from there instead of
exporting the functions.

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