Skip to content
Commit a36ed299 authored by Thomas Gleixner's avatar Thomas Gleixner
Browse files

[MTD] Simplify NAND locking



Replace the chip lock by a the controller lock. For simple drivers a
dummy controller structure is created by the scan code.
This simplifies the locking algorithm in nand_get/release_chip().

Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
parent 819d6a32
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