doc: mtd: nand: update examples to use mtd_to_nand()
authorBoris BREZILLON <boris.brezillon@free-electrons.com>
Mon, 16 Nov 2015 13:37:36 +0000 (14:37 +0100)
committerBrian Norris <computersforpeace@gmail.com>
Thu, 19 Nov 2015 19:21:04 +0000 (11:21 -0800)
commit1e6460abf739310fe695bafac30c2be39d18c8f9
tree18943bf9531d07f5e16333da84a798ca2b5a1b84
parentc291b3c3527fa962f53862426e0e4258d7bd8269
doc: mtd: nand: update examples to use mtd_to_nand()

mtd_to_nand() has been introduced to hide accesses to mtd->priv.
All NAND controller drivers should use it instead of directly accessing
the ->priv field.

Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Documentation/DocBook/mtdnand.tmpl