diff options
author | Boris Brezillon <bbrezillon@kernel.org> | 2018-10-25 22:10:36 +0200 |
---|---|---|
committer | Miquel Raynal <miquel.raynal@bootlin.com> | 2019-04-08 10:21:12 +0200 |
commit | a7ab085d7c16a7367a0c93ee39d0750d23b537f9 (patch) | |
tree | 39e50627bc0391632a864c418756fac14ff9c0b1 /lib/muldi3.c | |
parent | 629a442cad5facbebc204ff81e1974f8febab636 (diff) | |
download | linux-a7ab085d7c16a7367a0c93ee39d0750d23b537f9.tar.bz2 |
mtd: rawnand: Initialize the nand_device object
In order to use some of the nanddev_xxx() helpers, we need to
initialize the nand_device object embedded in nand_chip using
nanddev_init(). This requires implementing nand_ops.
We also drop useless mtd->xxx initialization when they're already taken
case of by nanddev_init().
Signed-off-by: Boris Brezillon <bbrezillon@kernel.org>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Reviewed-by: Frieder Schrempf <frieder.schrempf@kontron.de>
Diffstat (limited to 'lib/muldi3.c')
0 files changed, 0 insertions, 0 deletions