commit | 0da35df5c412b2abf351f376e8ef3988489f7ae6 | [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 | fdf5b2348bf4d599cdb8defac02e021f3b440038 [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>