]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
mtd: nand: convert to nand_set_flash_node()
authorBrian Norris <computersforpeace@gmail.com>
Sat, 31 Oct 2015 03:33:23 +0000 (20:33 -0700)
committerBrian Norris <computersforpeace@gmail.com>
Wed, 11 Nov 2015 21:45:17 +0000 (13:45 -0800)
commit6375219951a66047805ed977b674615d152001ee
tree1b77fb88df80da80175a882eae19c4f5eed77106
parent3e63b26bdd4069c3df2cd7ce7217a21d06801b41
mtd: nand: convert to nand_set_flash_node()

Used semantic patch with 'make coccicheck MODE=patch COCCI=script.cocci':

---8<----
virtual patch

@@
struct nand_chip *c;
struct device_node *d;
@@
-(c)->flash_node = (d)
+nand_set_flash_node(c, d)
---8<----

Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Reviewed-by: Marek Vasut <marex@denx.de>
Reviewed-by: Boris Brezillon <boris.brezillon@free-electrons.com>
drivers/mtd/nand/brcmnand/brcmnand.c
drivers/mtd/nand/fsmc_nand.c
drivers/mtd/nand/sunxi_nand.c
drivers/mtd/nand/vf610_nfc.c