diff options
| author | Boris Brezillon <boris.brezillon@bootlin.com> | 2018-11-20 11:57:16 +0100 |
|---|---|---|
| committer | Miquel Raynal <miquel.raynal@bootlin.com> | 2019-02-05 15:39:39 +0100 |
| commit | b5c2defc026148c4d1e936e3bf26e49bd7e02dce (patch) | |
| tree | d945a659dfad83a9d247837bd2b5fa18c232180d /drivers/mtd/nand/raw/tmio_nand.c | |
| parent | mtd: rawnand: marvell: use struct_size() in devm_kzalloc() (diff) | |
| download | linux-b5c2defc026148c4d1e936e3bf26e49bd7e02dce.tar.gz linux-b5c2defc026148c4d1e936e3bf26e49bd7e02dce.zip | |
mtd: rawnand: mtk: Use nand_controller_init() instead of open-coding it
nand_controller_init() has been added to simplify nand_controller
struct initialization. Use this function instead of duplicating the
logic.
Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Diffstat (limited to 'drivers/mtd/nand/raw/tmio_nand.c')
0 files changed, 0 insertions, 0 deletions
