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)
commit5dcddebb1b1f7638a2547d6729ca1ea501fb6834
treeb2974979c5b16a4221192bf24276dfdb574e3d39
parenta58d0b4d512aceb06d8a968c1d19318c77faa6b0
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