mtd: nand: denali: use nand_chip to hold frequently accessed data
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Wed, 22 Mar 2017 20:07:17 +0000 (05:07 +0900)
committerBoris Brezillon <boris.brezillon@free-electrons.com>
Mon, 27 Mar 2017 14:06:44 +0000 (16:06 +0200)
commit1394a7265f88e1fbd001048113f28fb090e5eff5
tree32b1d5b2ef6ef246507880ea970b3d451dac9780
parentc5d664aa5a4c4b257a54eb35045031630d105f49
mtd: nand: denali: use nand_chip to hold frequently accessed data

The denali_init() needs to setup a bunch of parameters of nand_chip.
Replace denali->nand.(member) with chip->(member) for shorter code.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
drivers/mtd/nand/denali.c