mtd: nand: add helpers to access ->priv
authorBoris BREZILLON <boris.brezillon@free-electrons.com>
Thu, 10 Dec 2015 08:00:39 +0000 (09:00 +0100)
committerBrian Norris <computersforpeace@gmail.com>
Thu, 7 Jan 2016 17:55:39 +0000 (09:55 -0800)
commitd39ddbd9ef70949bb78283a067e1b3366111dd90
tree2f60af3e963f592aec486fdb765702d15bf9cd71
parentae02ab00aa3c282a362af8c4496496970747ddf4
mtd: nand: add helpers to access ->priv

Add two helpers to access the field reserved for private controller data.
This makes it clearer what this field is reserved for and ease future
refactoring.

Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
include/linux/mtd/nand.h