commit | 8cdcf672c59b778f2a68a4f5d6c5f4d584f7ef54 | [log] [tgz] |
---|---|---|
author | Ofer Heifetz <oferh@marvell.com> | Wed Aug 29 11:56:01 2018 +0300 |
committer | Stefan Roese <sr@denx.de> | Wed Sep 19 09:00:39 2018 +0200 |
tree | 1dcbedc3d05ee7424bd100771cff31fcd6f9a852 | |
parent | 144532242ed3588bf63acccc6a46399b87861c03 [diff] |
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>