diff options
author | Marek Vasut <marex@denx.de> | 2015-09-03 18:35:37 +0200 |
---|---|---|
committer | Brian Norris <computersforpeace@gmail.com> | 2015-09-11 15:48:43 -0700 |
commit | 61528d888adf9470db73aaadf1ff9ca35942262a (patch) | |
tree | d83f422127c6865eb30539a0ac0624a73291362f /drivers/mtd/nand/nand_base.c | |
parent | 11bff0b70cc003b995cf4c2acec4adab90957b02 (diff) |
mtd: nand: Rename nand_chip .dn to .flash_node
Use a more descriptive name for the device_node element in struct nand_chip .
This name matches the element name used for device_node property of a flash
in the spi-nor framework.
Signed-off-by: Marek Vasut <marex@denx.de>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Diffstat (limited to 'drivers/mtd/nand/nand_base.c')
-rw-r--r-- | drivers/mtd/nand/nand_base.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mtd/nand/nand_base.c b/drivers/mtd/nand/nand_base.c index ceb68ca8277a..51f7816d67c9 100644 --- a/drivers/mtd/nand/nand_base.c +++ b/drivers/mtd/nand/nand_base.c @@ -3846,8 +3846,8 @@ int nand_scan_ident(struct mtd_info *mtd, int maxchips, struct nand_flash_dev *type; int ret; - if (chip->dn) { - ret = nand_dt_init(mtd, chip, chip->dn); + if (chip->flash_node) { + ret = nand_dt_init(mtd, chip, chip->flash_node); if (ret) return ret; } |