commit | c0313b966a0942fba934d34c7a76f444641d0b6e | [log] [tgz] |
---|---|---|
author | Masahiro Yamada <yamada.masahiro@socionext.com> | Tue Dec 05 17:47:16 2017 +0900 |
committer | Boris Brezillon <boris.brezillon@free-electrons.com> | Thu Dec 14 13:34:19 2017 +0100 |
tree | 916bf56683ef34293fc42d1f377f30e2906567d7 | |
parent | 8b311ead8bff9b56e512e3e544c488042ad0e7e7 [diff] |
mtd: nand: squash struct nand_buffers into struct nand_chip struct nand_buffers is malloc'ed in nand_scan_tail() just for containing three pointers. Squash this struct into nand_chip. Move and rename as follows: chip->buffers->ecccalc -> chip->ecc.calc_buf chip->buffers->ecccode -> chip->ecc.code_buf chip->buffers->databuf -> chip->data_buf Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>