mtd: {nand,spi-nor}: assign MTD of_node
authorBrian Norris <computersforpeace@gmail.com>
Sat, 31 Oct 2015 03:33:22 +0000 (20:33 -0700)
committerBrian Norris <computersforpeace@gmail.com>
Wed, 11 Nov 2015 21:45:13 +0000 (13:45 -0800)
commit3e63b26bdd4069c3df2cd7ce7217a21d06801b41
tree5525a306d79755361256e1360815d1ef004b3fdf
parent3b6521eab0386a4854d47b1a01947d7dc46ec98d
mtd: {nand,spi-nor}: assign MTD of_node

We should pass along our flash DT node to the MTD layer, so it can set
up ofpart for us.

Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Reviewed-by: Boris Brezillon <boris.brezillon@free-electrons.com>
drivers/mtd/nand/nand_base.c
drivers/mtd/spi-nor/spi-nor.c