summaryrefslogtreecommitdiffstats
path: root/lib/fault-inject.c
diff options
context:
space:
mode:
authorBoris Brezillon <bbrezillon@kernel.org>2018-10-25 22:10:36 +0200
committerMiquel Raynal <miquel.raynal@bootlin.com>2019-04-08 10:21:12 +0200
commita7ab085d7c16a7367a0c93ee39d0750d23b537f9 (patch)
tree39e50627bc0391632a864c418756fac14ff9c0b1 /lib/fault-inject.c
parent629a442cad5facbebc204ff81e1974f8febab636 (diff)
downloadlinux-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/fault-inject.c')
0 files changed, 0 insertions, 0 deletions