commit | 28b8b26b308e656edfa9467867d5f79212da2ec3 | [log] [tgz] |
---|---|---|
author | Brian Norris <computersforpeace@gmail.com> | Fri Oct 30 20:33:20 2015 -0700 |
committer | Brian Norris <computersforpeace@gmail.com> | Wed Nov 11 13:45:05 2015 -0800 |
tree | fb42583235108b33d05676b674afd33e74e2a568 | |
parent | bf9c37cb627a3f690e246d9326a4a94913771bbf [diff] |
mtd: add get/set of_node/flash_node helpers We are going to begin using the mtd->dev.of_node field for MTD device nodes, so let's add helpers for it. Also, we'll be making some conversions on spi_nor (and nand_chip eventually) too, so get that ready with their own helpers. Signed-off-by: Brian Norris <computersforpeace@gmail.com> Reviewed-by: Boris Brezillon <boris.brezillon@free-electrons.com>