]> git.baikalelectronics.ru Git - kernel.git/commit
mtd: rawnand: Kill cafe_nand_bug()
authorBoris Brezillon <boris.brezillon@bootlin.com>
Thu, 5 Jul 2018 10:27:26 +0000 (12:27 +0200)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Wed, 18 Jul 2018 07:34:20 +0000 (09:34 +0200)
commit0a560e23568d9c99df434cb05ff75197e3c94ed1
treeb2974979c5b16a4221192bf24276dfdb574e3d39
parent4488df2c305c103fb03b35df3d6f176e143bf6cd
mtd: rawnand: Kill cafe_nand_bug()

Leaving a function pointer to NULL should be enough to trigger a NULL
pointer exception, and anyway, if we want to BUG() when some missing
hooks are called, this should be done in the core, so let's drop the
cafe_nand_bug() dummy function.

Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
drivers/mtd/nand/raw/cafe_nand.c