]> git.baikalelectronics.ru Git - uboot.git/commit
mtd: nand: pxa3xx_nand: use nand_to_mtd()
authorOfer Heifetz <oferh@marvell.com>
Wed, 29 Aug 2018 08:56:01 +0000 (11:56 +0300)
committerStefan Roese <sr@denx.de>
Wed, 19 Sep 2018 07:00:39 +0000 (09:00 +0200)
commit92b1e5fa0665cc06f51becc5eb1fa62cd49107c9
tree1dcbedc3d05ee7424bd100771cff31fcd6f9a852
parent3c8deb02eba61450286ee050e20f5f0d672156b9
mtd: nand: pxa3xx_nand: use nand_to_mtd()

Don't store struct mtd_info in struct pxa3xx_nand_host. Instead use the
one that is already part of struct nand_chip. This brings us in line
with current U-boot and Linux conventions.

Signed-off-by: Chris Packham <judge.packham@gmail.com>
Signed-off-by: Ofer Heifetz <oferh@marvell.com>
Reviewed-by: Igal Liberman <igall@marvell.com>
Cc: Stefan Roese <sr@denx.de>
Cc: Simon Glass <sjg@chromium.org>
Signed-off-by: Stefan Roese <sr@denx.de>
drivers/mtd/nand/pxa3xx_nand.c