diff options
author | Brian Norris <computersforpeace@gmail.com> | 2015-10-30 20:33:23 -0700 |
---|---|---|
committer | Brian Norris <computersforpeace@gmail.com> | 2015-11-11 13:45:17 -0800 |
commit | 6375219951a66047805ed977b674615d152001ee (patch) | |
tree | 1b77fb88df80da80175a882eae19c4f5eed77106 /drivers/mtd/devices/m25p80.c | |
parent | mtd: {nand,spi-nor}: assign MTD of_node (diff) | |
download | linux-dev-6375219951a66047805ed977b674615d152001ee.tar.xz linux-dev-6375219951a66047805ed977b674615d152001ee.zip |
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>
Diffstat (limited to 'drivers/mtd/devices/m25p80.c')
0 files changed, 0 insertions, 0 deletions