]> git.baikalelectronics.ru Git - kernel.git/commit
mtd: nand: kill the chip->flash_node field
authorBoris BREZILLON <boris.brezillon@free-electrons.com>
Thu, 10 Dec 2015 08:00:38 +0000 (09:00 +0100)
committerBrian Norris <computersforpeace@gmail.com>
Fri, 18 Dec 2015 21:22:53 +0000 (13:22 -0800)
commit5601dd07327c8a600e6a3872267080526c8d4a01
tree922bb95007d79d281134a0d8d95a085d465f4b99
parent7ca8105113853d585591d7897cbc55c26e70cd0f
mtd: nand: kill the chip->flash_node field

Now that the nand_chip struct directly embeds an mtd_info struct we can
get rid of the ->flash_node field and forward set/get_flash_node requests
to the MTD layer.

As a side effect, we no longer need the mtd_set_of_node() call done in
nand_dt_init().

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